summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-10-23 14:43:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-10-23 14:43:58 -0400
commitdcca572a4d95b5bf926468c30e8a01413b665323 (patch)
tree3547aa46bb7eba9b804a2c508ff2daef5cffdc49 /Command
parent9ed8dd6be036e79e3ec7f5781b9f7b8864e1bc0e (diff)
wire git repair into webapp
Diffstat (limited to 'Command')
-rw-r--r--Command/Repair.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/Repair.hs b/Command/Repair.hs
index 8808ef9de..6b1b5df4a 100644
--- a/Command/Repair.hs
+++ b/Command/Repair.hs
@@ -29,8 +29,7 @@ runRepair :: Bool -> Annex Bool
runRepair forced = do
(ok, stillmissing, modifiedbranches) <- inRepo $
Git.Repair.runRepair forced
- when ok $
- repairAnnexBranch stillmissing modifiedbranches
+ repairAnnexBranch stillmissing modifiedbranches
return ok
{- After git repository repair, the .git/annex/index file could