Assistant, repair: Improved filtering out of git fsck lines about duplicate file entries in tree objects.
This commit is contained in:
parent
6d4f446a06
commit
090a922a98
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@ git-annex (6.20161013) UNRELEASED; urgency=medium
|
|||
* Improve style of offline html build of website.
|
||||
* importfeed: Drop URL parameters from file extension.
|
||||
Thanks, James MacMahon.
|
||||
* Assistant, repair: Improved filtering out of git fsck lines about
|
||||
duplicate file entries in tree objects.
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Mon, 17 Oct 2016 12:46:54 -0400
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue