summaryrefslogtreecommitdiff
path: root/Git/Command.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-25 20:43:01 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-25 20:43:01 -0400
commit97209ac08dcfc005c3da2fa889275e618d892d31 (patch)
treeda4384644d69490e039b9987935e0f739687cacc /Git/Command.hs
parent3ca7cf5db1c90b6fce8d918647c5a689ea376ecd (diff)
fix error message
Diffstat (limited to 'Git/Command.hs')
-rw-r--r--Git/Command.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/Command.hs b/Git/Command.hs
index 61b7728db..ec701c1f0 100644
--- a/Git/Command.hs
+++ b/Git/Command.hs
@@ -31,7 +31,7 @@ runBool subcommand params repo = assertLocal repo $
run :: String -> [CommandParam] -> Repo -> IO ()
run subcommand params repo = assertLocal repo $
unlessM (runBool subcommand params repo) $
- error $ "git " ++ show params ++ " failed"
+ error $ "git " ++ subcommand ++ " " ++ show params ++ " failed"
{- Runs a git subcommand and returns its output, lazily.
-