summaryrefslogtreecommitdiff
path: root/revision.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 /revision.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 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index ffbed3fbf2..4231ea2cce 100644
--- a/revision.c
+++ b/revision.c
@@ -1199,7 +1199,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
}
if (!prefixcmp(arg, "--pretty")) {
revs->verbose_header = 1;
- revs->commit_format = get_commit_format(arg+8);
+ get_commit_format(arg+8, revs);
continue;
}
if (!strcmp(arg, "--root")) {