Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-11-11 20:36:52 +0300
committerJunio C Hamano <gitster@pobox.com>2007-11-23 04:05:03 +0300
commit129fa606365c172d07a5d98bea9345277f221363 (patch)
treee2f612257b02569d8b65e3f024e364b4ba0f97af /builtin-commit.c
parentf9568530c97757d840171c685fd623e1f68bc552 (diff)
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 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)