reflog-walk: tell explicit --date=default from not having --date at all
[gitweb.git] / log-tree.c
index 5f9e59a10cc697681c58eb8e2b6a31febb08e657..588117e013e4d6c4362cb67ec1e5bf1768b4ccb9 100644 (file)
@@ -493,10 +493,9 @@ void show_log(struct rev_info *opt)
                         * graph info here.
                         */
                        show_reflog_message(opt->reflog_info,
-                                   opt->commit_format == CMIT_FMT_ONELINE,
-                                   opt->date_mode_explicit ?
-                                       opt->date_mode :
-                                       DATE_NORMAL);
+                                           opt->commit_format == CMIT_FMT_ONELINE,
+                                           opt->date_mode,
+                                           opt->date_mode_explicit);
                        if (opt->commit_format == CMIT_FMT_ONELINE)
                                return;
                }