diff options
-rw-r--r-- | Command/Commit.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/Commit.hs b/Command/Commit.hs index 19b0bc250..1c82ed7df 100644 --- a/Command/Commit.hs +++ b/Command/Commit.hs @@ -22,7 +22,8 @@ seek = [withNothing start] start :: CommandStart start = next $ next $ do Annex.Branch.commit "update" - runhook =<< (inRepo $ Git.hookPath "annex-content") + _ <- runhook =<< (inRepo $ Git.hookPath "annex-content") + return True where runhook (Just hook) = liftIO $ boolSystem hook [] runhook Nothing = return True |