We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f19ef commit 4004eceCopy full SHA for 4004ece
src/diff_generate.c
@@ -993,8 +993,8 @@ static int handle_unmatched_new_item(
993
* only if it makes a difference -- ignore checks are expensive
994
*/
995
else if ((!contains_oitem ||
996
- DIFF_FLAG_ISNT_SET(diff, GIT_DIFF_INCLUDE_IGNORED | GIT_DIFF_RECURSE_IGNORED_DIRS |
997
- GIT_DIFF_ENABLE_FAST_UNTRACKED_DIRS)) &&
+ DIFF_FLAG_IS_SET(diff, GIT_DIFF_INCLUDE_IGNORED | GIT_DIFF_RECURSE_IGNORED_DIRS |
+ GIT_DIFF_ENABLE_FAST_UNTRACKED_DIRS)) &&
998
git_iterator_current_is_ignored(info->new_iter))
999
delta_type = GIT_DELTA_IGNORED;
1000
0 commit comments