mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-12 12:00:29 +00:00
merge: don't do rename detection on submodules
This commit is contained in:
parent
49806e9bc4
commit
95367366b2
@ -1075,7 +1075,7 @@ static int index_entry_similarity_inexact(
|
|||||||
int score = 0;
|
int score = 0;
|
||||||
int error = 0;
|
int error = 0;
|
||||||
|
|
||||||
if (GIT_MODE_TYPE(a->mode) != GIT_MODE_TYPE(b->mode))
|
if (!GIT_MODE_ISBLOB(a->mode) || !GIT_MODE_ISBLOB(b->mode))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* update signature cache if needed */
|
/* update signature cache if needed */
|
||||||
|
Loading…
Reference in New Issue
Block a user