summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-03-14 12:39:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-03-14 12:41:00 -0400
commit6cb4743cfb105427a00b551ebd51fc5c9626bfea (patch)
tree0cf864afb728fb74584bfa69dc0c95f7886f38cd /Command
parent42a6694ca19c8293387f4c4a069d26cf52547a97 (diff)
ignore hook exit status
Diffstat (limited to 'Command')
-rw-r--r--Command/Commit.hs3
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