dateformat: parse %(xxdate) %(yydate:format) correctly
authorJunio C Hamano <gitster@pobox.com>
Tue, 2 Oct 2007 21:31:37 +0000 (14:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Oct 2007 21:31:37 +0000 (14:31 -0700)
commit070f6918d148f6bac8f5cc829c53fd28be018697
tree1397f82f6750e7ab9c3d11e636397d8cde59b993
parentd392e712a844e6ce029aa901902e08a3da82f89d
dateformat: parse %(xxdate) %(yydate:format) correctly

Andy Parkins noticed that parsing of the above would not
correctly notice that xxdate does not have any format
specifier.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-for-each-ref.c