deepenGitHistory: do not fetch submodules

This commit is contained in:
Chuan-kai Lin 2024-12-09 08:36:51 -08:00
parent dd4aa40016
commit 3e10d3452b

View file

@ -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 {