Skip to content

Commit 9536736

Browse files
author
Edward Thomson
committed
merge: don't do rename detection on submodules
1 parent 49806e9 commit 9536736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/merge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ static int index_entry_similarity_inexact(
10751075
int score = 0;
10761076
int error = 0;
10771077

1078-
if (GIT_MODE_TYPE(a->mode) != GIT_MODE_TYPE(b->mode))
1078+
if (!GIT_MODE_ISBLOB(a->mode) || !GIT_MODE_ISBLOB(b->mode))
10791079
return 0;
10801080

10811081
/* update signature cache if needed */

0 commit comments

Comments
 (0)