author | Greg Brockman <gdb@MIT.EDU> | |
Sat, 7 Aug 2010 05:13:39 +0000 (01:13 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Aug 2010 16:36:23 +0000 (09:36 -0700) | ||
commit | ad9ac6db5d58de08d0497b9184e86926377c20dd | |
tree | 02a6ec6fd2fd40799d9d1c4c1fcba657b5adbcc4 | tree | snapshot |
parent | 64fdc08dac6694d1e754580e7acb82dfa4988bb9 | commit | diff |
split_cmdline: Allow caller to access error string
This allows the caller to add its own error message to that returned
by split_cmdline. Thus error output following a failed split_cmdline
can be of the form
fatal: Bad alias.test string: cmdline ends with \
rather than
error: cmdline ends with \
fatal: Bad alias.test string
Signed-off-by: Greg Brockman <gdb@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This allows the caller to add its own error message to that returned
by split_cmdline. Thus error output following a failed split_cmdline
can be of the form
fatal: Bad alias.test string: cmdline ends with \
rather than
error: cmdline ends with \
fatal: Bad alias.test string
Signed-off-by: Greg Brockman <gdb@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
alias.c | diff | blob | history | |
builtin/merge.c | diff | blob | history | |
cache.h | diff | blob | history | |
git.c | diff | blob | history |