author | Charles Bailey <charles@hashpling.org> | |
Mon, 25 May 2009 00:21:14 +0000 (01:21 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 May 2009 06:56:34 +0000 (23:56 -0700) | ||
commit | 5719db91ce5915ee07c50f1afdc94fe34e91529f | |
tree | 7b156560fb631ca53bac749400485c8946e16904 | tree | snapshot |
parent | 1cd12926cedb340d176db607e087495381032ce2 | commit | diff |
Change xdl_merge to generate output even for null merges
xdl_merge used to have a check to ensure that there was at least
some change in one or other side being merged but this suppressed
output for the degenerate case when base, local and remote
contents were all identical.
Removing this check enables correct output in the degenerate case
and xdl_free_script handles freeing NULL scripts so there is no
need to have the check for these calls.
Signed-off-by: Charles Bailey <charles@hashpling.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdl_merge used to have a check to ensure that there was at least
some change in one or other side being merged but this suppressed
output for the degenerate case when base, local and remote
contents were all identical.
Removing this check enables correct output in the degenerate case
and xdl_free_script handles freeing NULL scripts so there is no
need to have the check for these calls.
Signed-off-by: Charles Bailey <charles@hashpling.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6023-merge-file.sh | diff | blob | history | |
xdiff/xmerge.c | diff | blob | history |