Code

Fix typo in comment in builtin-add.c
authorAlexander Potashev <aspotashev@gmail.com>
Wed, 10 Dec 2008 22:27:44 +0000 (01:27 +0300)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Dec 2008 23:39:00 +0000 (15:39 -0800)
Reported-by: Tim Daly <daly@axiom-developer.org>
Signed-off-by: Alexander Potashev <aspotashev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c

index ea4e77169a782ef38ed1c0524952a7220cbf739d..719de8b0f2d2d831f326d948aa18700e5c474950 100644 (file)
@@ -23,7 +23,7 @@ static void fill_pathspec_matches(const char **pathspec, char *seen, int specs)
        int num_unmatched = 0, i;
 
        /*
-        * Since we are walking the index as if we are warlking the directory,
+        * Since we are walking the index as if we were walking the directory,
         * we have to mark the matched pathspec as seen; otherwise we will
         * mistakenly think that the user gave a pathspec that did not match
         * anything.