From 2987e6add32f3367be8cc196ecac9195a213e415 Mon Sep 17 00:00:00 2001 From: kTln2 Date: Thu, 20 Aug 2009 13:30:45 +0200 Subject: [PATCH] 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 --- git-subtree.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-subtree.sh b/git-subtree.sh index 962d5ff50..c5c020144 100755 --- a/git-subtree.sh +++ b/git-subtree.sh @@ -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= -- 2.30.2