wire git repair into webapp
This commit is contained in:
parent
1ab2ad86c7
commit
0036139b33
5 changed files with 87 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue