author | Elijah Newren <newren@gmail.com> | |
Fri, 12 Aug 2011 05:20:09 +0000 (23:20 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 14 Aug 2011 21:19:37 +0000 (14:19 -0700) | ||
commit | 3c217c077a86d9ae06ed26bb0baa4475d0e28a0e | |
tree | 9af76e87c3b3b100fdbf3aa96bda3808b2eb1c5c | tree | snapshot |
parent | 4f66dade81c2ebc6e1143b6c116960bfcd837067 | commit | diff |
merge-recursive: Provide more info in conflict markers with file renames
Whenever there are merge conflicts in file contents, we would mark the
different sides of the conflict with the two branches being merged.
However, when there is a rename involved as well, the branchname is not
sufficient to specify where the conflicting content came from. In such
cases, mark the two sides of the conflict with branchname:filename rather
than just branchname.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Whenever there are merge conflicts in file contents, we would mark the
different sides of the conflict with the two branches being merged.
However, when there is a rename involved as well, the branchname is not
sufficient to specify where the conflicting content came from. In such
cases, mark the two sides of the conflict with branchname:filename rather
than just branchname.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c | diff | blob | history | |
t/t6022-merge-rename.sh | diff | blob | history | |
t/t6042-merge-rename-corner-cases.sh | diff | blob | history |