Andreas Ericsson [off-list ref] writes:
quoted
. ${GIT_EXEC_PATH-'@@@GIT_EXEC_PATH@@@'}/git-sh-setup
isn't too grim, and shows how the git_exec shell function can be made
somewhat terser.
But it breaks the convenience when testing.
I think that's OK. When I test things in the build directory
without installing I would usually do:
$ GIT_EXEC_PATH=`pwd` PATH=`pwd`:/usr/bin:/bin ./git-cmd-to-test
and the above would not break things.