summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2019-12-10 20:00:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-12-11 20:23:23 (GMT)
commit2f5d3847d4ed1b6d6c6d2a2e6726cfcda7d361e5 (patch)
treed4f32a712b32e57e8ea2ec12b7669510d58bbc09 /dir.c
parenta2b13367fe55bdeb10862f41aff3e2446b63e171 (diff)
downloadgit-2f5d3847d4ed1b6d6c6d2a2e6726cfcda7d361e5.zip
git-2f5d3847d4ed1b6d6c6d2a2e6726cfcda7d361e5.tar.gz
git-2f5d3847d4ed1b6d6c6d2a2e6726cfcda7d361e5.tar.bz2
dir: remove stray quote character in comment
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 0dd5266..5dacacd 100644
--- a/dir.c
+++ b/dir.c
@@ -373,7 +373,7 @@ static int match_pathspec_item(const struct index_state *istate,
!ps_strncmp(item, match, name, namelen))
return MATCHED_RECURSIVELY_LEADING_PATHSPEC;
- /* name" doesn't match up to the first wild character */
+ /* name doesn't match up to the first wild character */
if (item->nowildcard_len < item->len &&
ps_strncmp(item, match, name,
item->nowildcard_len - prefix))