From f41fffbb1bc1fa6fbb3925552ae4fb231f015626 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Wed, 30 Jun 2021 12:12:32 -0400 Subject: [PATCH] Fix error --- README.org | 2 +- modules/git.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index b896653..3c6c35d 100644 --- a/README.org +++ b/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 diff --git a/modules/git.nix b/modules/git.nix index 49d140a..32bf80f 100644 --- a/modules/git.nix +++ b/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