Re: [PATCH] unset CDPATH in git-clone
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 5, 2005, 19:37 UTC
- Message-ID
- <7v3boj486h.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20050901152441.GA8694@hpsvcnb.fc.hp.com>
Carl Baldwin <cnb@fc.hp.com> 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.