builtin-commit: Add newline when showing which commit was created
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 11 Nov 2007 17:36:52 +0000 (17:36 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Nov 2007 01:05:03 +0000 (17:05 -0800)
The function log_tree_commit() does not break the line, so we have to
do it ourselves.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c

index ee79cf1b72e0e250c19f075791282e6c7162e730..2233300f40f8312adc4494fb7fc488d7c6617048 100644 (file)
@@ -494,6 +494,7 @@ static void print_summary(const char *prefix, const unsigned char *sha1)
        printf("Created %scommit ", initial_commit ? "initial " : "");
 
        log_tree_commit(&rev, commit);
+       printf("\n");
 }
 
 int git_commit_config(const char *k, const char *v)