From: Junio C Hamano Date: Mon, 12 Sep 2005 01:47:30 GMT Subject: Re: [PATCH] Redirect cd output to /dev/null, was: git-clone seems dead Message-ID: <7vwtlnm4zx.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20050911230136.GA15224@athame.dynamicro.on.ca> I recall somebody else had trouble when we say 'cd blah' in our script and the CDPATH in the user's environment interfere and took us elsewhere. I do not have any problem with people who have CDPATH defined as a plain shell variable (not exported) in their interactive shells, but I really do not see a point of having CDPATH as an environment variable, exported to be honored by any unsuspecting shell scripts. Until somebody convinces me that CDPATH in the environment is a good idea, I do not have much sympathy to people with such an environment.