Skip to content

Commit

Permalink
deepenGitHistory: do not fetch submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
cklin committed Dec 9, 2024
1 parent dd4aa40 commit 3e10d34
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/actions-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,14 @@ export const deepenGitHistory = async function () {
try {
await runGitCommand(
getOptionalInput("checkout_path"),
["fetch", "origin", "HEAD", "--no-tags", "--deepen=1"],
[
"fetch",
"origin",
"HEAD",
"--no-tags",
"--no-recurse-submodules",
"--deepen=1",
],
"Cannot deepen the shallow repository.",
);
} catch {
Expand Down

0 comments on commit 3e10d34

Please sign in to comment.