summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar kTln2 <gianluca.pacchiella@ktln2.org>2009-08-20 13:30:45 +0200
committerLibravatar Avery Pennarun <apenwarr@gmail.com>2009-08-20 13:25:29 -0400
commit2987e6add32f3367be8cc196ecac9195a213e415 (patch)
tree261030800df71800e00f90f88cf9170483166a6a
parentsort assertion to make it more generic (diff)
downloadtgif-2987e6add32f3367be8cc196ecac9195a213e415.tar.xz
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>
-rwxr-xr-xgit-subtree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-subtree.sh b/git-subtree.sh
index 962d5ff509..c5c0201448 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=