builtin/send-pack.c: use parse_options API
authorDave Borowitz <dborowitz@google.com>
Wed, 19 Aug 2015 15:26:45 +0000 (11:26 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2015 19:45:28 +0000 (12:45 -0700)
The old option parsing code in this plumbing command predates this
API, so option parsing was done more manually. Using the new API
brings send-pack more in line with push, and accepts new variants
like --no-* for negating options.

Signed-off-by: Dave Borowitz <dborowitz@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found