Re: [PATCH v2] builtin/receive-pack.c: use parse_options API
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 2, 2016, 08:23 UTC
- Message-ID
- <vpqsi09xp7x.fsf@anie.imag.fr>
- In-Reply-To
- <xmqq4mcp7t28.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 13 quoted lines
> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes: > >> "Sidhant Sharma [:tk]" <tigerkid001@gmail.com> writes: >> >>> Make receive-pack use the parse_options API, >>> bringing it more in line with send-pack and push. >> >> Thanks. This version looks good to me. > > I'll queue this with your "Reviewed-by:" to 'pu', just as a > Microproject reward ;-). Given that the program will never see an > interactive use from a command line, however, I am not sure if it is > worth actually merging it down thru 'next' to 'master'.
Git can certainly live without this patch and users won't see any difference indeed. But the slight code reduction might be worth it:
builtin/receive-pack.c | 53 +++++++++++++++++++------------------------------- 1 file changed, 20 insertions(+), 33 deletions(-)
-- Matthieu Moy http://www-verimag.imag.fr/~moy/