1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-01 17:06:13 +02:00

Add explicit path of git installation by 'git --exec-path'.

As pointed out by documentation, the correct use of 'git-sh-setup' is
using $(git --exec-path) to avoid problems with not standard
installations.

Signed-off-by: gianluca.pacchiella <pacchiel@studenti.ph.unito.it>
This commit is contained in:
kTln2 2009-08-20 13:30:45 +02:00 committed by Avery Pennarun
parent 558e7a57e2
commit 2987e6add3

View File

@ -27,7 +27,7 @@ rejoin merge the new branch back into HEAD
squash merge subtree changes as a single commit
"
eval $(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)
. git-sh-setup
. $(git --exec-path)/git-sh-setup
require_work_tree
quiet=