Add a test for merging changed and rename-changed branches
Also leave a warning for future merge-recursive explorers. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
c135ee88f8
commit
8a35981927
@ -1345,6 +1345,11 @@ static int process_renames(struct path_list *a_renames,
|
||||
if (mfi.merge && mfi.clean &&
|
||||
sha_eq(mfi.sha, ren1->pair->two->sha1) &&
|
||||
mfi.mode == ren1->pair->two->mode)
|
||||
/*
|
||||
* This messaged is part of
|
||||
* t6022 test. If you change
|
||||
* it update the test too.
|
||||
*/
|
||||
output(3, "Skipped %s (merged same as existing)", ren1_dst);
|
||||
else {
|
||||
if (mfi.merge || !mfi.clean)
|
||||
|
||||
Reference in New Issue
Block a user