deepenGitHistory: do not fetch submodules
This commit is contained in:
parent
dd4aa40016
commit
3e10d3452b
1 changed files with 8 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue