Skip to content

Commit 3e10d34

Browse files
committed
deepenGitHistory: do not fetch submodules
1 parent dd4aa40 commit 3e10d34

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/actions-util.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,14 @@ export const deepenGitHistory = async function () {
172172
try {
173173
await runGitCommand(
174174
getOptionalInput("checkout_path"),
175-
["fetch", "origin", "HEAD", "--no-tags", "--deepen=1"],
175+
[
176+
"fetch",
177+
"origin",
178+
"HEAD",
179+
"--no-tags",
180+
"--no-recurse-submodules",
181+
"--deepen=1",
182+
],
176183
"Cannot deepen the shallow repository.",
177184
);
178185
} catch {

0 commit comments

Comments
 (0)