]> git.ipfire.org Git - thirdparty/git.git/commitdiff
dir: fix typo in comment
authorElijah Newren <newren@gmail.com>
Tue, 17 Sep 2019 16:34:54 +0000 (09:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Sep 2019 19:20:34 +0000 (12:20 -0700)
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 d021c908e5d162cfd4d961ab11d16b1b9eb7124a..a9168bed9637308f4dde6e084118368b0efc9c5f 100644 (file)
--- a/dir.c
+++ b/dir.c
@@ -139,7 +139,7 @@ static size_t common_prefix_len(const struct pathspec *pathspec)
         * ":(icase)path" is treated as a pathspec full of
         * wildcard. In other words, only prefix is considered common
         * prefix. If the pathspec is abc/foo abc/bar, running in
-        * subdir xyz, the common prefix is still xyz, not xuz/abc as
+        * subdir xyz, the common prefix is still xyz, not xyz/abc as
         * in non-:(icase).
         */
        GUARD_PATHSPEC(pathspec,