projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f956853
)
builtin-commit: Add newline when showing which commit was created
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Sun, 11 Nov 2007 17:36:52 +0000
(17:36 +0000)
committer
Junio 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
patch
|
blob
|
history
diff --git
a/builtin-commit.c
b/builtin-commit.c
index ee79cf1b72e0e250c19f075791282e6c7162e730..2233300f40f8312adc4494fb7fc488d7c6617048 100644
(file)
--- 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)