]> git.ipfire.org Git - thirdparty/git.git/commit - merge-recursive.c
merge-recursive: Rename conflict_rename_rename*() for clarity
authorElijah Newren <newren@gmail.com>
Mon, 20 Sep 2010 08:28:48 +0000 (02:28 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Sep 2010 00:32:37 +0000 (17:32 -0700)
commit09c01f856f65ffdde9a61708a5d74a372d68807a
tree3b69a7e007f003be05aad5ed905ae16b55c35639
parent41d70bd6a94d1bd1ec09d2a3d6ebd419abb25bca
merge-recursive: Rename conflict_rename_rename*() for clarity

The names conflict_rename_rename and conflict_rename_rename_2 did not make
it clear what they were handling.  Since the first of these handles one
file being renamed in both branches to different files, while the latter
handles two different files being renamed to the same thing, add a little
'1to2' and '2to1' suffix on these and an explanatory comment to make their
intent clearer.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c