summaryrefslogtreecommitdiff
path: root/Git/Command.hs
diff options
context:
space:
mode:
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.
-