Browse Source

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>
maint
Junio C Hamano 18 years ago
parent
commit
16bfefeebc
  1. 2
      builtin-show-branch.c

2
builtin-show-branch.c

@ -725,7 +725,7 @@ int cmd_show_branch(int ac, const char **av, const char *prefix) @@ -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);

Loading…
Cancel
Save