diff options
| author | Junio C Hamano <gitster@pobox.com> | 2010-08-27 09:46:47 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-08-27 09:46:47 -0700 |
| commit | 1666246b702379275fe87cbbbf6111a74d00d825 (patch) | |
| tree | 4fc58712bd97b618be4420fa0bf7f9e241ea8ef3 /git.c | |
| parent | 70256a3a6780a9fd181edf0bf0e762eb56637c9c (diff) | |
| parent | ad9ac6db5d58de08d0497b9184e86926377c20dd (diff) | |
| download | git-1666246b702379275fe87cbbbf6111a74d00d825.tar.gz | |
Merge branch 'gb/split-cmdline-errmsg' into gb/shell-ext
* gb/split-cmdline-errmsg:
split_cmdline: Allow caller to access error string
Diffstat (limited to 'git.c')
| -rw-r--r-- | git.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |
