mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 15:33:51 +00:00
don't include ignored as rename candidates
This commit is contained in:
parent
4e05fa7db4
commit
d55bed1a25
@ -590,11 +590,13 @@ static bool is_rename_target(
|
||||
return false;
|
||||
|
||||
case GIT_DELTA_UNTRACKED:
|
||||
case GIT_DELTA_IGNORED:
|
||||
if (!FLAG_SET(opts, GIT_DIFF_FIND_FOR_UNTRACKED))
|
||||
return false;
|
||||
break;
|
||||
|
||||
case GIT_DELTA_IGNORED:
|
||||
return false;
|
||||
|
||||
default: /* all other status values should be checked */
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user