Code

show-branch --reflog: fix show_date() call
authorJunio C Hamano <junkio@cox.net>
Sun, 21 Jan 2007 02:57:06 +0000 (18:57 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 21 Jan 2007 03:02:03 +0000 (19:02 -0800)
Not passing tz to show_date() is not a fix.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-show-branch.c

index 651d27c2c0f7266b789e2939e5bffc854c70c8fe..b54c410e1486587786a9454ebc7ceef4bfffc0af 100644 (file)
@@ -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);