summaryrefslogtreecommitdiff
path: root/revision.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 /revision.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 '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")) {