From: Junio C Hamano Date: Mon, 05 Sep 2005 19:37:58 GMT Subject: Re: [PATCH] unset CDPATH in git-clone Message-ID: <7v3boj486h.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20050901152441.GA8694@hpsvcnb.fc.hp.com> Carl Baldwin writes: > The function get_repo_base seems to break with this CDPATH. Sorry, your message somehow slipped my filtering. Thanks for the analysis. Of course, CDPATH would break it. Is there any good reason why somebody would want to have CDPATH in his environment, inherited to be used by any shell scripts, as opposed to have it as a plain shell variable that is set only in interactive shells? I do not think of any.