diff options
author | Joey Hess <joeyh@joeyh.name> | 2022-05-04 11:36:52 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2022-05-04 11:36:52 -0400 |
commit | 3c9630388ab0234df9e13473ac20c147e77074c5 (patch) | |
tree | 2c8a25a8d4893bb86ba42b4795f72d7f95700fbd /git-repair.hs | |
parent | e78aedf04f6fdabb948ab91d3b0b670e4765c6a2 (diff) | |
download | git-repair-3c9630388ab0234df9e13473ac20c147e77074c5.tar.gz |
Avoid treating refs that are not commit objects as evidence of repository corruption
merged fix from git-annex, which actually has such a ref, refs/annex/last-index
Diffstat (limited to 'git-repair.hs')
-rw-r--r-- | git-repair.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-repair.hs b/git-repair.hs index 7ca1854..18721a9 100644 --- a/git-repair.hs +++ b/git-repair.hs @@ -100,7 +100,7 @@ runTest settings damage = withTmpDir "tmprepo" $ \tmpdir -> do case repairstatus of Just True -> testResult repairstatus . Just . not . Git.Fsck.foundBroken - =<< Git.Fsck.findBroken False g + =<< Git.Fsck.findBroken False False g _ -> testResult repairstatus Nothing -- Pass test result and fsck result |