diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-25 20:43:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-25 20:43:01 -0400 |
commit | 97209ac08dcfc005c3da2fa889275e618d892d31 (patch) | |
tree | da4384644d69490e039b9987935e0f739687cacc | |
parent | 3ca7cf5db1c90b6fce8d918647c5a689ea376ecd (diff) |
fix error message
-rw-r--r-- | Git/Command.hs | 2 |
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. - |