aboutsummaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-02-08 21:58:33 +0100
committerJunio C Hamano <junkio@cox.net>2007-02-08 16:20:52 -0800
commit4e244cbc5cc4c8a43982d4023bc0d9fb0b0c7d43 (patch)
treef759e8aafb4210b954147f24d52d95540454ec7e /log-tree.c
parentb4dd485696d9fb754b0a44649ef4796883d3b903 (diff)
downloadgit-4e244cbc5cc4c8a43982d4023bc0d9fb0b0c7d43.tar.gz
git-4e244cbc5cc4c8a43982d4023bc0d9fb0b0c7d43.tar.xz
log --reflog: honour --relative-date
If you say "git log -g --relative-date", it is very likely that you want to see the reflog names in terms of a relative date. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'log-tree.c')
-rw-r--r--log-tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c
index 85acd66df..4e3c7fd6f 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -226,7 +226,8 @@ void show_log(struct rev_info *opt, const char *sep)
putchar(opt->commit_format == CMIT_FMT_ONELINE ? ' ' : '\n');
if (opt->reflog_info) {
show_reflog_message(opt->reflog_info,
- opt->commit_format == CMIT_FMT_ONELINE);;
+ opt->commit_format == CMIT_FMT_ONELINE,
+ opt->relative_date);
if (opt->commit_format == CMIT_FMT_ONELINE) {
printf("%s", sep);
return;