summaryrefslogtreecommitdiff
path: root/builtin-show-branch.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-01-20 18:57:06 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-20 19:02:03 -0800
commit16bfefeebcac375ff51652eb8b866b7b65cb4905 (patch)
tree6b54c4146da35aabd4d4f4497b214edca4f07f97 /builtin-show-branch.c
parentshow_date(): fix relative dates (diff)
downloadtgif-16bfefeebcac375ff51652eb8b866b7b65cb4905.tar.xz
show-branch --reflog: fix show_date() call
Not passing tz to show_date() is not a fix. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-show-branch.c')
-rw-r--r--builtin-show-branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-show-branch.c b/builtin-show-branch.c
index 651d27c2c0..b54c410e14 100644
--- a/builtin-show-branch.c
+++ b/builtin-show-branch.c
@@ -725,7 +725,7 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)
msg++;
m = xmalloc(strlen(msg) + 200);
sprintf(m, "(%s) %s",
- show_date(timestamp, 0, 1),
+ show_date(timestamp, tz, 1),
msg);
reflog_msg[i] = m;
free(logmsg);