Skip to content

Commit 8cad7e6

Browse files
palminlhchavez
andauthored
Update src/ignore.c
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
1 parent 9410f2b commit 8cad7e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ignore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ static int does_negate_rule(int *out, git_vector *rules, git_attr_fnmatch *match
142142
goto out;
143143

144144
/* if rule isn't for full path we match without PATHNAME flag
145-
as lines like *.txt should match something like dir/test.txt
146-
requiring * to also match /
145+
* as lines like *.txt should match something like dir/test.txt
146+
* requiring * to also match /
147147
*/
148148
effective_flags = wildmatch_flags;
149149
if (!(rule->flags & GIT_ATTR_FNMATCH_FULLPATH)) {

0 commit comments

Comments
 (0)