diff options
author | Jonas Fonseca <fonseca@diku.dk> | 2006-08-28 15:52:13 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-28 16:20:33 -0700 |
commit | 3dfb9278dff6d81fcc062e9a56edab9ece38ea7d (patch) | |
tree | a6b36e289c7ab62cfeb8121f597a2bfe3f2595b3 /log-tree.c | |
parent | b17fda5c07744190e2f9caa24321596830064083 (diff) | |
download | git-3dfb9278dff6d81fcc062e9a56edab9ece38ea7d.tar.gz |
Add --relative-date option to the revision interface
Exposes the infrastructure from 9a8e35e98793af086f05d1ca9643052df9b44a74.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'log-tree.c')
-rw-r--r-- | log-tree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c index 031af88933..54cdaa4d81 100644 --- a/log-tree.c +++ b/log-tree.c @@ -194,7 +194,9 @@ void show_log(struct rev_info *opt, const char *sep) /* * And then the pretty-printed message itself */ - len = pretty_print_commit(opt->commit_format, commit, ~0u, this_header, sizeof(this_header), abbrev, subject, extra_headers); + len = pretty_print_commit(opt->commit_format, commit, ~0u, this_header, + sizeof(this_header), abbrev, subject, + extra_headers, opt->relative_date); if (opt->add_signoff) len = append_signoff(this_header, sizeof(this_header), len, |