]> git.ipfire.org Git - thirdparty/git.git/commit - merge-recursive.c
merge-recursive: make a helper function for cleanup for handle_renames
authorElijah Newren <newren@gmail.com>
Thu, 19 Apr 2018 17:58:04 +0000 (10:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Apr 2018 01:44:16 +0000 (10:44 +0900)
commitffc16c490ad533bc07e6d8ec0226b426166e8442
tree5cb16c0aa62769511fccd0bbb3608266d94d94ec
parente5257b2a0d72010cea8150a520347a206394efd0
merge-recursive: make a helper function for cleanup for handle_renames

In anticipation of more involved cleanup to come, make a helper function
for doing the cleanup at the end of handle_renames.  Rename the already
existing cleanup_rename[s]() to final_cleanup_rename[s](), name the new
helper initial_cleanup_rename(), and leave the big comment in the code
about why we can't do all the cleanup at once.

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