summaryrefslogtreecommitdiff
path: root/Command/PreCommit.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-29 13:44:53 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-29 13:44:53 -0400
commit16227a67118b11c2131ee3a3d11ab4633a1cffb5 (patch)
treedff6588d79bbc0bc577927bcaa225853a1567d6f /Command/PreCommit.hs
parenta0339f209db365651fab21e99ed4f28024a1bcf0 (diff)
avoid using function named that conflicts with name used in newer version of process library
Diffstat (limited to 'Command/PreCommit.hs')
-rw-r--r--Command/PreCommit.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/PreCommit.hs b/Command/PreCommit.hs
index 6644f6ffa..388d065c0 100644
--- a/Command/PreCommit.hs
+++ b/Command/PreCommit.hs
@@ -31,7 +31,7 @@ seek ps = ifM isDirect
startIndirect :: FilePath -> CommandStart
startIndirect file = next $ do
- unlessM (callCommand $ Command.Add.start file) $
+ unlessM (callCommandAction $ Command.Add.start file) $
error $ "failed to add " ++ file ++ "; canceling commit"
next $ return True