git-bundle.txt: Clarify rev-list-args restrictions
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index f37028b3b722e6203ae8dac1ccf40a94421597d2..6fc07a568d34d50745cca26fcaf46bc99bbfceba 100644 (file)
--- a/git.c
+++ b/git.c
@@ -188,7 +188,8 @@ static int handle_alias(int *argcp, const char ***argv)
                }
                count = split_cmdline(alias_string, &new_argv);
                if (count < 0)
-                       die("Bad alias.%s string", alias_command);
+                       die("Bad alias.%s string: %s", alias_command,
+                           split_cmdline_strerror(count));
                option_count = handle_options(&new_argv, &count, &envchanged);
                if (envchanged)
                        die("alias '%s' changes environment variables\n"