parse-options.c: introduce OPT_DATE
commit1f4a711a05e00db81da552dd990f6ddff4ffb63e
authorMichele Ballabio <barra_cuda@katamail.com>
Mon, 24 Mar 2008 14:02:21 +0000 (24 15:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Mar 2008 20:55:15 +0000 (27 13:55 -0700)
treeafa79d66e796ca0ea45409979b6ee915a83e2c97
parent1768905b51601d5d080168059acd24d13b888a2d
parse-options.c: introduce OPT_DATE

There are quite a few places that will need to call approxidate(),
when they'll adopt the parse-options system, so this patch adds the
function parse_opt_approxidate_cb(), used by OPT_DATE.

Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c
parse-options.h