log: teach "terminator" vs "separator" mode to "--pretty=format"
[gitweb.git] / revision.c
index 196fedc9d1297617b74f058f570beb2f5168c3d6..781c503dfcfcab7501e9816b977da55bd84ab012 100644 (file)
@@ -1198,7 +1198,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")) {