Skip to content

Commit

Permalink
builtin-commit: Add newline when showing which commit was created
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Schindelin authored and Junio C Hamano committed Nov 23, 2007
1 parent f956853 commit 129fa60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin-commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 129fa60

Please sign in to comment.