diff options
-rwxr-xr-x | git-subtree.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/git-subtree.sh b/git-subtree.sh index a15d91ffb1..781eef3783 100755 --- a/git-subtree.sh +++ b/git-subtree.sh @@ -30,10 +30,8 @@ squash merge subtree changes as a single commit " 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 |