Code

Improve patch to use git --exec-path: add to PATH instead.
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 26 Aug 2009 14:41:03 +0000 (10:41 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 26 Aug 2009 14:42:27 +0000 (10:42 -0400)
commit33aaa697a2386a02002f9fb8439d11243f12e1c7
tree5b5d8e60fe23ce070832c07429f9abdedc015824
parent2987e6add32f3367be8cc196ecac9195a213e415
Improve patch to use git --exec-path: add to PATH instead.

If you (like me) are using a modified git straight out of its source
directory (ie. without installing), then --exec-path isn't actually correct.
Add it to the PATH instead, so if it is correct, it'll work, but if it's
not, we fall back to the previous behaviour.
git-subtree.sh