summaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
Diffstat (limited to 'Git')
-rw-r--r--Git/Fsck.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/Fsck.hs b/Git/Fsck.hs
index f85023dc1..e50b60715 100644
--- a/Git/Fsck.hs
+++ b/Git/Fsck.hs
@@ -105,7 +105,7 @@ findShas supportsNoDangling = catMaybes . map extractSha . concat . map words .
where
wanted l
-- Skip lines like "error in tree <sha>: duplicateEntries: contains duplicate file entries"
- | "duplicateEntries" `isPrefixOf` l = False
+ | "duplicateEntries" `isInfixOf` l = False
| supportsNoDangling = True
| otherwise = not ("dangling " `isPrefixOf` l)