summaryrefslogtreecommitdiff
path: root/builtin-commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-04-19 21:10:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-04-19 21:10:54 -0700
commitd52301630f05c95a9bd0205bc36289ce8bab9211 (patch)
treeceb520c609909451099335956937837f7a1b7e8e /builtin-commit.c
parentMerge branch 'jk/remote-default-show' (diff)
parentlog: teach "terminator" vs "separator" mode to "--pretty=format" (diff)
downloadtgif-d52301630f05c95a9bd0205bc36289ce8bab9211.tar.xz
Merge branch 'jc/terminator-separator'
* jc/terminator-separator: log: teach "terminator" vs "separator" mode to "--pretty=format"
Diffstat (limited to 'builtin-commit.c')
-rw-r--r--builtin-commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-commit.c b/builtin-commit.c
index bcb7aaaa93..b41d4a3561 100644
--- a/builtin-commit.c
+++ b/builtin-commit.c
@@ -808,7 +808,7 @@ static void print_summary(const char *prefix, const unsigned char *sha1)
rev.verbose_header = 1;
rev.show_root_diff = 1;
- rev.commit_format = get_commit_format("format:%h: %s");
+ get_commit_format("format:%h: %s", &rev);
rev.always_show_header = 0;
rev.diffopt.detect_rename = 1;
rev.diffopt.rename_limit = 100;