Cleanup uninitialized value in chomp
[gitweb.git] / 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);