From: Junio C Hamano Date: Wed, 06 Aug 2008 20:19:07 GMT Subject: Re: [PATCH] files given on the command line are relative to $cwd Message-ID: <7vtzdxnbgk.fsf@gitster.siamese.dyndns.org> In-Reply-To: <489A061B.7010508@free.fr> Olivier Marin writes: > Junio C Hamano a écrit : >> >> static int parse_and_validate_options(int argc, const char *argv[], >> - const char * const usage[]) >> + const char * const usage[], >> + const char *prefix) >> { >> int f = 0; >> >> argc = parse_options(argc, argv, builtin_commit_options, usage, 0); >> + logfile = parse_options_fix_filename(prefix, logfile); > > It breaks the "git commit -F -" case, no? Does it? Ah, yeah, t7500 #15 does not go down to a subdirectory.