Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
show-branch: use DATE_RELATIVE instead of magic number
[gitweb.git]
/
builtin
/
show-branch.c
diff --git
a/builtin/show-branch.c
b/builtin/show-branch.c
index 323f85746358676cccecd646e6cb820e723031cf..d78461389af4fb86d68c7d5188f747f9270be149 100644
(file)
--- a/
builtin/show-branch.c
+++ b/
builtin/show-branch.c
@@
-784,7
+784,7
@@
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_RELATIVE
),
msg);
free(logmsg);
sprintf(nth_desc, "%s@{%d}", *av, base+i);