summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1596456)
raw | patch | inline | side by side (parent: 1596456)
author | Junio C Hamano <gitster@pobox.com> | |
Sun, 16 Dec 2007 23:05:39 +0000 (15:05 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 16 Dec 2007 23:05:39 +0000 (15:05 -0800) |
This enables -B -M to the summary output after a commit is made so that
it is in line with what is shown in git-status and commit log template.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
it is in line with what is shown in git-status and commit log template.
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 61770ef456ca7f5f8342796e66f7ebfd3e1e7f73..0a9101324f422e90651d612666a06a138d06507b 100644 (file)
--- a/builtin-commit.c
+++ b/builtin-commit.c
rev.show_root_diff = 1;
rev.commit_format = get_commit_format("format:%h: %s");
rev.always_show_header = 0;
+ rev.diffopt.detect_rename = 1;
+ rev.diffopt.rename_limit = 100;
+ rev.diffopt.break_opt = 0;
diff_setup_done(&rev.diffopt);
printf("Created %scommit ", initial_commit ? "initial " : "");