summaryrefslogtreecommitdiff
path: root/add-patch.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2020-11-10 23:42:12 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-10 17:00:15 -0800
commitcb581b16ef947a00f8e83f17c9fbe5b5aeed1d65 (patch)
treec2dcf388169547816b2083b28b0a63c8be25e498 /add-patch.c
parentadd -i (built-in): do show an error message for incorrect inputs (diff)
downloadtgif-cb581b16ef947a00f8e83f17c9fbe5b5aeed1d65.tar.xz
add -i (built-in): send error messages to stderr
The Perl version of that command already does that since a301973641f (add -p: print errors in separate color, 2009-02-05). The built-in version's development started by reimplementing the initial version from 5cde71d64af (git-add --interactive, 2006-12-10) for simplicity, though, which still printed error messages to stdout. Let's fix that by imitating the Perl version's behavior in the built-in version of that command. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'add-patch.c')
0 files changed, 0 insertions, 0 deletions