From dcca572a4d95b5bf926468c30e8a01413b665323 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Oct 2013 14:43:58 -0400 Subject: wire git repair into webapp --- Command/Repair.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Command') 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 -- cgit v1.2.3