Browse Source

Fix error

main
parent
commit
f41fffbb1b
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 2
      README.org
  2. 2
      modules/git.nix

2
README.org

@ -1295,7 +1295,7 @@ let
# Fix any corruptions in the local copy.
myGitFix = pkgs.writeShellScriptBin "git-fix" ''
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 fsck --full
fi

2
modules/git.nix

@ -5,7 +5,7 @@ let
# Fix any corruptions in the local copy.
myGitFix = pkgs.writeShellScriptBin "git-fix" ''
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 fsck --full
fi

Loading…
Cancel
Save