summaryrefslogtreecommitdiff
path: root/builtin-commit.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-11-11 17:36:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-23 01:05:03 (GMT)
commit129fa606365c172d07a5d98bea9345277f221363 (patch)
treee2f612257b02569d8b65e3f024e364b4ba0f97af /builtin-commit.c
parentf9568530c97757d840171c685fd623e1f68bc552 (diff)
downloadgit-129fa606365c172d07a5d98bea9345277f221363.zip
git-129fa606365c172d07a5d98bea9345277f221363.tar.gz
git-129fa606365c172d07a5d98bea9345277f221363.tar.bz2
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-commit.c b/builtin-commit.c
index ee79cf1..2233300 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)