Rewrite builtin-fetch option parsing to use parse_options().
authorKristian Høgsberg <krh@redhat.com>
Tue, 4 Dec 2007 07:25:47 +0000 (02:25 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Dec 2007 07:48:39 +0000 (23:48 -0800)
commit83201998730ac5f0b95ac832f3b727da26ab0129
tree9286e25d36e8af8d26e80c30999dac59c84ac1dd
parent7a4a2e1f797724ce15b059f55ce57eab0e6be807
Rewrite builtin-fetch option parsing to use parse_options().

This gets a little tricky because of the way --tags and --no-tags
are handled, and the "tag <name>" syntax needs a little hand-holding too.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c