]> git.ipfire.org Git - thirdparty/git.git/commitdiff
dir: remove stray quote character in comment
authorElijah Newren <newren@gmail.com>
Tue, 10 Dec 2019 20:00:22 +0000 (20:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Dec 2019 20:23:23 +0000 (12:23 -0800)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c

diff --git a/dir.c b/dir.c
index 0dd526662994d9fbc9e017a859d3efe625b4d1d3..5dacacd469494215fa14fa0d07ca5f5dc7d6b6af 100644 (file)
--- 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))