write_file_v(): do not leave incomplete line at the end
[gitweb.git] / log-tree.c
index e2f6de73ef1bfee85904708e7c4d97001215bced..7b1b57aaf6e48a430f664fa8deafb75a0cfcc576 100644 (file)
@@ -640,7 +640,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;