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
parent
da8f070cee
commit
16bfefeebc
|
@ -725,7 +725,7 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)
|
||||||
msg++;
|
msg++;
|
||||||
m = xmalloc(strlen(msg) + 200);
|
m = xmalloc(strlen(msg) + 200);
|
||||||
sprintf(m, "(%s) %s",
|
sprintf(m, "(%s) %s",
|
||||||
show_date(timestamp, 0, 1),
|
show_date(timestamp, tz, 1),
|
||||||
msg);
|
msg);
|
||||||
reflog_msg[i] = m;
|
reflog_msg[i] = m;
|
||||||
free(logmsg);
|
free(logmsg);
|
||||||
|
|
Loading…
Reference in New Issue