On Wed, Aug 06, 2008 at 06:43:47PM +0000, Junio C Hamano wrote: > When running "git commit -F file" and "git tag -F file" from a > subdirectory, we should take it as relative to the directory we started > from, not relative to the top-level directory. > > This adds a helper function "parse_options_fix_filename()" to make it more > convenient to fix this class of issues. Ideally, parse_options() should > support a new type of option, "OPT_FILENAME", to do this uniformly, but > this patch is meant to go to 'maint' to fix it minimally. I'm going in vacation tomorrow so I'm not likely to do that soon, but I agree it's sensible. -- ·O· Pierre Habouzit ··O madcoder@xxxxxxxxxx OOO http://www.madism.org
Attachment:
pgpRlwLbhKiIt.pgp
Description: PGP signature