author | Clemens Buchacher <drizzd@aon.at> | |
Mon, 15 Nov 2010 19:52:19 +0000 (20:52 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 14 Dec 2010 16:55:13 +0000 (08:55 -0800) | ||
commit | 3055d78f97da105acfc0e207266e902251d2949f | |
tree | 77037a51ded54618ba33a5f1466a340c42802b3a | tree | snapshot |
parent | b1735b1ab7743700064af528a998cdc952c8b9a1 | commit | diff |
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>
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 | diff | blob | history | |
t/t7609-merge-co-error-msgs.sh | diff | blob | history | |
unpack-trees.c | diff | blob | history | |
unpack-trees.h | diff | blob | history |