summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e770bd)
raw | patch | inline | side by side (parent: 8e770bd)
author | Avery Pennarun <apenwarr@gmail.com> | |
Thu, 24 Jun 2010 20:57:58 +0000 (16:57 -0400) | ||
committer | Avery Pennarun <apenwarr@gmail.com> | |
Thu, 24 Jun 2010 20:57:58 +0000 (16:57 -0400) |
Evan Shaw tells me the previous fix didn't work. Let's use this one
instead, which he says does work.
This fix is kind of wrong because it will run the "correct" git-sh-setup
*after* the one in /usr/bin, if there is one, which could be weird if you
have multiple versions of git installed. But it works on my Linux and his
msysgit, so it's obviously better than what we had before.
instead, which he says does work.
This fix is kind of wrong because it will run the "correct" git-sh-setup
*after* the one in /usr/bin, if there is one, which could be weird if you
have multiple versions of git installed. But it works on my Linux and his
msysgit, so it's obviously better than what we had before.
git-subtree.sh | patch | blob | history |
diff --git a/git-subtree.sh b/git-subtree.sh
index a15d91ffb1b3d3318409619449745dbcfb393abf..781eef3783c2d12bf567a4e1fd201b66ad29e0a8 100755 (executable)
--- a/git-subtree.sh
+++ b/git-subtree.sh
"
eval $(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)
-OPATH=$PATH
-PATH=$(git --exec-path):$PATH
+PATH=$PATH:$(git --exec-path)
. git-sh-setup
-PATH=$OPATH # apparently needed for some versions of msysgit
require_work_tree