Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] run-command.c: Accept EACCES as command not found

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:30

Frans Klaver [off-list ref] 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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help