From: Junio C Hamano Date: Wed, 12 Jun 2013 22:13:41 GMT Subject: Re: [PATCH v5 1/2] rm: better error message on failure for multiple files 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 writes: > 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 > Signed-off-by: Jorge Juan Garcia Garcia > Signed-off-by: Matthieu Moy > --- > > Changes since v4: > -removal of useless blanks after variable declarations > -use of string_list_clear Thanks. Will queue.