|
@ -1295,7 +1295,7 @@ let |
|
|
# Fix any corruptions in the local copy. |
|
|
# Fix any corruptions in the local copy. |
|
|
myGitFix = pkgs.writeShellScriptBin "git-fix" '' |
|
|
myGitFix = pkgs.writeShellScriptBin "git-fix" '' |
|
|
if [ -d .git/objects/ ]; then |
|
|
if [ -d .git/objects/ ]; then |
|
|
find ./git/objects/ -type f -empty | xargs rm -f |
|
|
|
|
|
|
|
|
find .git/objects/ -type f -empty | xargs rm -f |
|
|
git fetch -p |
|
|
git fetch -p |
|
|
git fsck --full |
|
|
git fsck --full |
|
|
fi |
|
|
fi |
|
|