use persistent memory for rejected paths
commit3055d78f97da105acfc0e207266e902251d2949f
authorClemens Buchacher <drizzd@aon.at>
Mon, 15 Nov 2010 19:52:19 +0000 (15 20:52 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Dec 2010 16:55:13 +0000 (14 08:55 -0800)
tree77037a51ded54618ba33a5f1466a340c42802b3a
parentb1735b1ab7743700064af528a998cdc952c8b9a1
use persistent memory for rejected paths

An aborted merge prints the list of rejected paths as part of the
error message. Since commit f66caaf9 (do not overwrite files in
leading path), some of those paths do not have static buffers, so
we have to keep a copy. Use string_list's to accomplish this.

This changes the order of the list to the order in which the paths
are processed. Previously, it was reversed.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7607-merge-overwrite.sh
t/t7609-merge-co-error-msgs.sh
unpack-trees.c
unpack-trees.h