Commit d2db351c by Vicent Martí

Merge pull request #1735 from ethomson/ignored_are_not_rename_candidates

don't include ignored as rename candidates
parents 4e05fa7d d55bed1a
...@@ -590,11 +590,13 @@ static bool is_rename_target( ...@@ -590,11 +590,13 @@ static bool is_rename_target(
return false; return false;
case GIT_DELTA_UNTRACKED: case GIT_DELTA_UNTRACKED:
case GIT_DELTA_IGNORED:
if (!FLAG_SET(opts, GIT_DIFF_FIND_FOR_UNTRACKED)) if (!FLAG_SET(opts, GIT_DIFF_FIND_FOR_UNTRACKED))
return false; return false;
break; break;
case GIT_DELTA_IGNORED:
return false;
default: /* all other status values should be checked */ default: /* all other status values should be checked */
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment