On Mon, Jul 30, 2007 at 12:52:40PM +0200, David Kastrup wrote: > How does it calculate its exec path? It would appear that it would > not contain _either_ /usr/local/bin _or_ /opt/git/bin in my > installation if it can't find git-stash (which should be statable in > both places). See exec_cmd.c:execv_git_cmd. It checks in order: 1. --exec-path= on command line 2. $GIT_EXEC_PATH from environment 3. GIT_EXEC_PATH defined at compile-time (set by Makefile from $(gitexecdir), which is generally the same as $(bindir)) So it should have /opt/git/bin in your case, but it's possible since that is a Makefile variable that you failed to recompile correctly after changing its value. > Have a command handy for checking the exec path? git --exec-path -Peff - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html