summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1f509c)
raw | patch | inline | side by side (parent: f1f509c)
author | Michael Schubert <mschub@elegosoft.com> | |
Wed, 21 Dec 2011 12:05:27 +0000 (13:05 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 21 Dec 2011 19:15:56 +0000 (11:15 -0800) |
"abbrev" and "commit_format" in struct rev_info get initialized in
init_revisions - no need to reinit in cmd_log_init_defaults.
Signed-off-by: Michael Schubert <mschub@elegosoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
init_revisions - no need to reinit in cmd_log_init_defaults.
Signed-off-by: Michael Schubert <mschub@elegosoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c | patch | blob | history |
diff --git a/builtin/log.c b/builtin/log.c
index f5d49305903911eb7aa0fb3f73e0fd950b896228..56bc555d11e25056eab45e92ac43ee885fb55bf7 100644 (file)
--- a/builtin/log.c
+++ b/builtin/log.c
static void cmd_log_init_defaults(struct rev_info *rev)
{
- rev->abbrev = DEFAULT_ABBREV;
- rev->commit_format = CMIT_FMT_DEFAULT;
if (fmt_pretty)
get_commit_format(fmt_pretty, rev);
rev->verbose_header = 1;