projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
558e7a5
)
Add explicit path of git installation by 'git --exec-path'.
author
kTln2
<gianluca.pacchiella@ktln2.org>
Thu, 20 Aug 2009 11:30:45 +0000
(13:30 +0200)
committer
Avery Pennarun
<apenwarr@gmail.com>
Thu, 20 Aug 2009 17:25:29 +0000
(13:25 -0400)
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>
git-subtree.sh
patch
|
blob
|
history
diff --git
a/git-subtree.sh
b/git-subtree.sh
index 962d5ff50939afac605d467926b10a25c88dc930..c5c0201448eb455ef29a25f5a2950d85ea74363f 100755
(executable)
--- 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=