summaryrefslogtreecommitdiff
path: root/builtin-commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-04-19 21:10:54 -0700
committerJunio C Hamano <gitster@pobox.com>2008-04-19 21:10:54 -0700
commitd52301630f05c95a9bd0205bc36289ce8bab9211 (patch)
treeceb520c609909451099335956937837f7a1b7e8e /builtin-commit.c
parent141ca95be1a751afe4ac2983593f1f7bcab87173 (diff)
parent4da45bef56e1547eb6525015ada0fdfc01d8295b (diff)
downloadgit-d52301630f05c95a9bd0205bc36289ce8bab9211.tar.gz
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;