From: Paul Tan Date: Sat, 09 May 2015 03:10:46 GMT Subject: Re: [PATCH v2 10/12] t5520: failing test for pull --all with no configured upstream Message-ID: In-Reply-To: Hi Junio, On Fri, May 8, 2015 at 2:48 AM, Junio C Hamano wrote: > Paul Tan writes: > >> .... This can be >> done with the current git-pull.sh, but would be easier with the >> superior C parse-options API. > > Just this part, but I thought parse-options API is available to > scripts via "rev-parse --parseopt". Yes, it kind of is, but my impression is that it only validates command-line arguments -- we still have to loop over each of them which means more code has to be written as compared to the C version (especially if we want to validate all the git-fetch switches as well). Thanks, Paul