X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=log-tree.c;h=f7d54f2f1b132d54adda6a9ca5f8e1332856709f;hb=8127f778a0f6495a0b8484a21b5591e56d873de8;hp=1c9eefee33b38a44f34d21c47bc1f16af1443a6c;hpb=24343c609926e0163c9956b89c010e907fe755ee;p=git.git diff --git a/log-tree.c b/log-tree.c index 1c9eefee3..f7d54f2f1 100644 --- a/log-tree.c +++ b/log-tree.c @@ -43,6 +43,7 @@ void load_ref_decorations(int flags) if (!loaded) { loaded = 1; for_each_ref(add_ref_decoration, &flags); + head_ref(add_ref_decoration, &flags); } } @@ -390,7 +391,9 @@ 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_explicit ? + opt->date_mode : + DATE_NORMAL); if (opt->commit_format == CMIT_FMT_ONELINE) return; }