diff options
| author | Anders Borum <palmin@users.noreply.github.com> | 2021-06-13 08:21:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-13 08:21:05 +0200 |
| commit | 8cad7e62cdbe13d41dbced7088a508366b416d6b (patch) | |
| tree | 505673795a43a7d05fabff33979f7541323688ab /src | |
| parent | 9410f2b52e3b56ec3c0571417b88d2a700c76558 (diff) | |
| download | libgit2-8cad7e62cdbe13d41dbced7088a508366b416d6b.tar.gz | |
Update src/ignore.c
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/ignore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ignore.c b/src/ignore.c index cb4f13f05..f796d3d5b 100644 --- a/src/ignore.c +++ b/src/ignore.c @@ -142,8 +142,8 @@ static int does_negate_rule(int *out, git_vector *rules, git_attr_fnmatch *match goto out; /* if rule isn't for full path we match without PATHNAME flag - as lines like *.txt should match something like dir/test.txt - requiring * to also match / + * as lines like *.txt should match something like dir/test.txt + * requiring * to also match / */ effective_flags = wildmatch_flags; if (!(rule->flags & GIT_ATTR_FNMATCH_FULLPATH)) { |
