From 97209ac08dcfc005c3da2fa889275e618d892d31 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 25 Jan 2012 20:43:01 -0400 Subject: fix error message --- Git/Command.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Git') 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. - -- cgit v1.2.3