diff options
Diffstat (limited to 'src/ignore.c')
-rw-r--r-- | src/ignore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ignore.c b/src/ignore.c index 7ad8500e8..0031e4696 100644 --- a/src/ignore.c +++ b/src/ignore.c @@ -80,6 +80,7 @@ static int does_negate_rule(int *out, git_vector *rules, git_attr_fnmatch *match git_vector_foreach(rules, i, rule) { if (!(rule->flags & GIT_ATTR_FNMATCH_HASWILD)) { if (does_negate_pattern(rule, match)) { + error = 0; *out = 1; goto out; } |