Re: [PATCH 2/2] git: continue alias lookup on EACCES errors
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 28, 2012, 21:44 UTC
- Message-ID
- <7vehsctn7h.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120328210407.GC10174@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Regarding the name, I pulled it from the linux-manpages execvp(3), since > this is supposed to be compatible. POSIX uses the even worse "path" as > the first element. But there is no reason we have to follow those naming > conventions.
Let me take that back. We are checking if there is a non-command in a directory that is somewhere on the PATH, so calling it file like you did is a lot saner than calling it cmd.