show-branch: use DATE_RELATIVE instead of magic number
commitb7c1e11dc43e3dbd9eb2da20476c4c55dda5e84b
authorJeff King <peff@peff.net>
Thu, 25 Jun 2015 16:54:31 +0000 (25 12:54 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Jun 2015 18:39:04 +0000 (29 11:39 -0700)
treea9b343e36f68f91f8b7ebf1a3dca8282180c6a3b
parent912bd497e93f0235a5999a77f8d54f5ff80a3a03
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>
builtin/show-branch.c