Re: [PATCH v5 1/2] rm: better error message on failure for multiple files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 12, 2013, 22:13 UTC
- Message-ID
- <7v4nd30yga.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1371024404-22468-1-git-send-email-Mathieu.Lienard--Mayor@ensimag.imag.fr>
Mathieu Lienard--Mayor <Mathieu.Lienard--Mayor@ensimag.imag.fr> writes:
Show 24 quoted lines
> 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> > --- > > Changes since v4: > -removal of useless blanks after variable declarations > -use of string_list_clear
Thanks. Will queue.