]> Pileus Git - ~andy/git/commitdiff
builtin/commit: fix duplicated sentence in a comment
authorMarkus Heidelberg <markus.heidelberg@web.de>
Fri, 2 Apr 2010 12:27:18 +0000 (14:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Apr 2010 18:37:03 +0000 (11:37 -0700)
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c

index 8dd104ee0b247f5536d02d54a932acfcbaec603b..8cc9293e261c022c517fd3ccc476b54b0b7cbd2a 100644 (file)
@@ -322,8 +322,8 @@ static char *prepare_index(int argc, const char **argv, const char *prefix, int
         *
         * (1) return the name of the real index file.
         *
-        * The caller should run hooks on the real index, and run
-        * hooks on the real index, and create commit from the_index.
+        * The caller should run hooks on the real index,
+        * and create commit from the_index.
         * We still need to refresh the index here.
         */
        if (!pathspec || !*pathspec) {