summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnders Borum <palmin@users.noreply.github.com>2021-06-13 08:21:05 +0200
committerGitHub <noreply@github.com>2021-06-13 08:21:05 +0200
commit8cad7e62cdbe13d41dbced7088a508366b416d6b (patch)
tree505673795a43a7d05fabff33979f7541323688ab /src
parent9410f2b52e3b56ec3c0571417b88d2a700c76558 (diff)
downloadlibgit2-8cad7e62cdbe13d41dbced7088a508366b416d6b.tar.gz
Update src/ignore.c
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
Diffstat (limited to 'src')
-rw-r--r--src/ignore.c4
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)) {