assistant: Automatically repair damanged git repository, if it can be done without losing data.
This commit is contained in:
parent
a1b1b5ef52
commit
b48aaa22d0
4 changed files with 49 additions and 18 deletions
|
@ -25,7 +25,7 @@ getRepairRepositoryRunR :: UUID -> Handler Html
|
|||
getRepairRepositoryRunR = postRepairRepositoryRunR
|
||||
postRepairRepositoryRunR :: UUID -> Handler Html
|
||||
postRepairRepositoryRunR u = do
|
||||
liftAssistant $ runRepair u
|
||||
void $ liftAssistant $ runRepair u True
|
||||
page "Repair repository" Nothing $ do
|
||||
let repolist = repoListDisplay $
|
||||
mainRepoSelector { nudgeAddMore = True }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue