Fix push with refspecs containing wildcards
[gitweb.git] / builtin-rev-list.c
index c0329dcecdbb4775b2c438a0bf6429a5ee72b18e..ebf53f5944f1a53c5336f69e2ef3105ce50d0823 100644 (file)
@@ -95,7 +95,7 @@ static void show_commit(struct commit *commit)
                static char pretty_header[16384];
                pretty_print_commit(revs.commit_format, commit, ~0,
                                    pretty_header, sizeof(pretty_header),
-                                   revs.abbrev, NULL, NULL, revs.relative_date);
+                                   revs.abbrev, NULL, NULL, revs.date_mode);
                printf("%s%c", pretty_header, hdr_termination);
        }
        fflush(stdout);