enter_repo: allow .git files in strict mode
[gitweb.git] / builtin / show-branch.c
index 323f85746358676cccecd646e6cb820e723031cf..c87c46eb387a8093af92864081673be1a36b5999 100644 (file)
@@ -784,7 +784,8 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)
                        else
                                msg++;
                        reflog_msg[i] = xstrfmt("(%s) %s",
-                                               show_date(timestamp, tz, 1),
+                                               show_date(timestamp, tz,
+                                                         DATE_MODE(RELATIVE)),
                                                msg);
                        free(logmsg);
                        sprintf(nth_desc, "%s@{%d}", *av, base+i);