From: Junio C Hamano Date: Mon, 21 Nov 2011 22:13:58 GMT Subject: Re: [PATCH] run-command.c: Accept EACCES as command not found Message-ID: <7vbos5f7ix.fsf@alter.siamese.dyndns.org> In-Reply-To: <1321912387-4569-1-git-send-email-fransklaver@gmail.com> Frans Klaver writes: > execvp returns ENOENT if a command was not found after searching PATH. > If path contains a directory that current user has insufficient > privileges to, EACCES is returned. This may still mean the program > wasn't found. > > If the latter case is encountered, git errors out without giving aliases > a try,... Isn't that a *good* thing in general, though, so that the user can diagnose the breakage in the $PATH and fix it?