diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-11-11 17:36:52 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-22 17:05:03 -0800 |
commit | 129fa606365c172d07a5d98bea9345277f221363 (patch) | |
tree | e2f612257b02569d8b65e3f024e364b4ba0f97af /builtin-commit.c | |
parent | f9568530c97757d840171c685fd623e1f68bc552 (diff) | |
download | git-129fa606365c172d07a5d98bea9345277f221363.tar.gz |
builtin-commit: Add newline when showing which commit was created
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>
Diffstat (limited to 'builtin-commit.c')
-rw-r--r-- | builtin-commit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-commit.c b/builtin-commit.c index ee79cf1b72..2233300f40 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -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) |