X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=git-sh-setup.sh;h=795edd2852aa1c680c3db1776bb84aca7662899d;hb=c0179c0d33b0fc3c8ad30246eece220e0442fb6e;hp=22f0aed6db366c3d4a291b3ae646c45002ff86c1;hpb=fb4c62235fee8008d99ef55c4adcb1f7ea9508a3;p=git.git diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 22f0aed6d..795edd285 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -12,8 +12,11 @@ # But we protect ourselves from such a user mistake nevertheless. unset CDPATH -# Similarly for IFS -unset IFS +# Similarly for IFS, but some shells (e.g. FreeBSD 7.2) are buggy and +# do not equate an unset IFS with IFS with the default, so here is +# an explicit SP HT LF. +IFS=' +' git_broken_path_fix () { case ":$PATH:" in