introduce "format" date-mode
[gitweb.git] / log-tree.c
index 01beb11f65b518e382fa01f18f03c5a9f2ddf529..e57e6b62cc8214eb827a051a8d1a6f128ee3c50e 100644 (file)
@@ -639,7 +639,7 @@ void show_log(struct rev_info *opt)
                         */
                        show_reflog_message(opt->reflog_info,
                                            opt->commit_format == CMIT_FMT_ONELINE,
-                                           opt->date_mode,
+                                           &opt->date_mode,
                                            opt->date_mode_explicit);
                        if (opt->commit_format == CMIT_FMT_ONELINE)
                                return;