Browse Source

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>
maint
Johannes Schindelin 17 years ago committed by Junio C Hamano
parent
commit
129fa60636
  1. 1
      builtin-commit.c

1
builtin-commit.c

@ -494,6 +494,7 @@ static void print_summary(const char *prefix, const unsigned char *sha1) @@ -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)

Loading…
Cancel
Save