Commit 8cad7e62cdbe13d41dbced7088a508366b416d6b

Anders Borum 2021-06-13T08:21:05

Update src/ignore.c Co-authored-by: lhchavez <lhchavez@lhchavez.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/ignore.c b/src/ignore.c
index cb4f13f..f796d3d 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)) {