diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-03 11:01:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-03 11:01:27 -0700 |
commit | d939af12bd96db7ad3e671a0585ad8570aa7e9d3 (patch) | |
tree | 5772ac1192ed299db657ffcfbc71c318521db653 /log-tree.c | |
parent | 980a3d3dd742d534b394b04e578c2de5e3ee4793 (diff) | |
parent | e4f031e34b08e3217c10942e682920a6939308a0 (diff) | |
download | git-d939af12bd96db7ad3e671a0585ad8570aa7e9d3.tar.gz |
Merge branch 'jk/date-mode-format'
Teach "git log" and friends a new "--date=format:..." option to
format timestamps using system's strftime(3).
* jk/date-mode-format:
strbuf: make strbuf_addftime more robust
introduce "format" date-mode
convert "enum date_mode" into a struct
show-branch: use DATE_RELATIVE instead of magic number
Diffstat (limited to 'log-tree.c')
-rw-r--r-- | log-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c index e2f6de73ef..7b1b57aaf6 100644 --- a/log-tree.c +++ b/log-tree.c @@ -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; |