Re: [PATCH 2/4] option-strings: use OPT_FILENAME
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 23, 2015, 20:31 UTC
- Message-ID
- <xmqqioess739.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <xmqqfv9wtpha.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 13 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes: > >> Some commands use OPT_STRING to specify a <file> argument. Let them use >> OPT_FILENAME so that they can profit from path prefixing. > > If the existing code that takes string actually already works > correctly, they must be doing the necessary prefixing on their own, > but I do not see in this patch a hunk that removes such a custom > prefixing. Puzzled... > > It may be that some of them do not work correctly from subdirectory > and this change fixes bugs, but are all of them like that, or is > this patch fixing some of them while breaking some others?
Ahh, I see Peff already went over the changes in the patch and sifted them into good, questionable and bad bins.
Thanks; I'll shut up and await for a reroll ;-)