diff options
author | Mathieu Lienard--Mayor <Mathieu.Lienard--Mayor@ensimag.imag.fr> | 2013-06-12 10:06:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-12 16:59:50 -0700 |
commit | 914dc0289d1df75cfa744cea8ec84cb529cbc791 (patch) | |
tree | 72cbea1f3407595399fed4a906611b8ab7f135a3 /contrib/mw-to-git/git-remote-mediawiki.perl | |
parent | Git 1.8.3 (diff) | |
download | tgif-914dc0289d1df75cfa744cea8ec84cb529cbc791.tar.xz |
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 'contrib/mw-to-git/git-remote-mediawiki.perl')
0 files changed, 0 insertions, 0 deletions