show-branch: use DATE_RELATIVE instead of magic number

This is more readable, and won't break if we ever change the order of the date_mode enum. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Jun 25, 2015 at 12:54 UTC b7c1e11dc43e3dbd9eb2da20476c4c55dda5e84b
1 file changed +1 -1
builtin/show-branch.c
+1 -1
@@ -784,7 +784,7 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)
784 else
785 msg++;
786 reflog_msg[i] = xstrfmt("(%s) %s",
787 - show_date(timestamp, tz, 1),
787 + show_date(timestamp, tz, DATE_RELATIVE),
788 msg);
789 free(logmsg);
790 sprintf(nth_desc, "%s@{%d}", *av, base+i);