summaryrefslogtreecommitdiff
path: root/streaming.c
diff options
context:
space:
mode:
authorMathieu Lienard--Mayor <Mathieu.Lienard--Mayor@ensimag.imag.fr>2013-06-12 08:06:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-06-12 23:59:50 (GMT)
commit914dc0289d1df75cfa744cea8ec84cb529cbc791 (patch)
tree72cbea1f3407595399fed4a906611b8ab7f135a3 /streaming.c
parentedca4152560522a431a51fc0a06147fc680b5b18 (diff)
downloadgit-914dc0289d1df75cfa744cea8ec84cb529cbc791.zip
git-914dc0289d1df75cfa744cea8ec84cb529cbc791.tar.gz
git-914dc0289d1df75cfa744cea8ec84cb529cbc791.tar.bz2
rm: better error message on failure for multiple files
When 'git rm' fails, it now displays a single message with the list of files involved, instead of displaying a list of messages with one file each. As an example, the old message: error: 'foo.txt' has changes staged in the index (use --cached to keep the file, or -f to force removal) error: 'bar.txt' has changes staged in the index (use --cached to keep the file, or -f to force removal) would now be displayed as: error: the following files have changes staged in the index: foo.txt bar.txt (use --cached to keep the file, or -f to force removal) Signed-off-by: Mathieu Lienard--Mayor <Mathieu.Lienard--Mayor@ensimag.imag.fr> Signed-off-by: Jorge Juan Garcia Garcia <Jorge-Juan.Garcia-Garcia@ensimag.imag.fr> Signed-off-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'streaming.c')
0 files changed, 0 insertions, 0 deletions