ignore hook exit status
This commit is contained in:
parent
42a6694ca1
commit
6cb4743cfb
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ seek = [withNothing start]
|
||||||
start :: CommandStart
|
start :: CommandStart
|
||||||
start = next $ next $ do
|
start = next $ next $ do
|
||||||
Annex.Branch.commit "update"
|
Annex.Branch.commit "update"
|
||||||
runhook =<< (inRepo $ Git.hookPath "annex-content")
|
_ <- runhook =<< (inRepo $ Git.hookPath "annex-content")
|
||||||
|
return True
|
||||||
where
|
where
|
||||||
runhook (Just hook) = liftIO $ boolSystem hook []
|
runhook (Just hook) = liftIO $ boolSystem hook []
|
||||||
runhook Nothing = return True
|
runhook Nothing = return True
|
||||||
|
|
Loading…
Reference in a new issue