merge from git-repair

This commit is contained in:
Joey Hess 2013-11-20 19:34:30 -04:00
parent 1711415145
commit 8217e97d88

View file

@ -513,7 +513,10 @@ runRepairOf fsckresult forced referencerepo g = do
else needforce S.empty
)
| otherwise -> if forced
then continuerepairs s
then ifM (checkIndex s g)
( continuerepairs s
, corruptedindex
)
else do
putStrLn $ unwords
[ show (S.size s)