fix for bug fatal: error in object: unshallow
This commit is contained in:
parent
03d4d63ab5
commit
0e46c77c14
@ -70,6 +70,8 @@ run(
|
|||||||
"Fetch back to the start of 2021 to get commit history",
|
"Fetch back to the start of 2021 to get commit history",
|
||||||
f'git fetch --recurse-submodules=no --shallow-since="2021-07-01" origin {ref}',
|
f'git fetch --recurse-submodules=no --shallow-since="2021-07-01" origin {ref}',
|
||||||
)
|
)
|
||||||
|
# See https://stackoverflow.com/questions/63878612/git-fatal-error-in-object-unshallow-sha-1#comment118418373_63879454
|
||||||
|
run ("Fix for bug \"fatal: error in object: unshallow\"", "git repack -d")
|
||||||
run("Init submodules", "git submodule init")
|
run("Init submodules", "git submodule init")
|
||||||
run("Submodule status", "git submodule status")
|
run("Submodule status", "git submodule status")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user