fast-import: fix option parser for no-arg options
commit4cce4ef2d5b2a3be1ddb17e9aa12b3307900b41d
authorSverre Rabbelier <srabbelier@gmail.com>
Thu, 5 May 2011 18:56:00 +0000 (5 20:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 May 2011 04:21:24 +0000 (5 21:21 -0700)
treea4313c6f91918e995ea3a5283b0a34d1da9d80c8
parent9fee24cac87078ae48b5a74ecafaca751f5edfd6
fast-import: fix option parser for no-arg options

While refactoring the options parser in bc3c79a (fast-import: add
(non-)relative-marks feature, 2009-12-04), it was made too lenient
for options that take no argument, fix that.

Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fast-import.c