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>
kTln2 committed
Aug 20, 2009 at 13:30 UTC
2987e6add32f3367be8cc196ecac9195a213e415
1 file changed
+1
-1
git-subtree.sh
+1
-1
@@ -27,7 +27,7 @@ rejoin merge the new branch back into HEAD
27
squash merge subtree changes as a single commit
28
"
29
eval $(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)
30
-. git-sh-setup
30
+. $(git --exec-path)/git-sh-setup
31
require_work_tree
32
33
quiet=