git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [OT] CDPATH

From
Junio C Hamano <junkio@cox.net>
Date
Apr 24, 2007, 16:57 UTC
Message-ID
<7vejm97lsi.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<769697AE3E25EF4FBC0763CD91AB1B0201D496D1@MBGMail01.mobot.org>
"Ron Parker" <ron.parker@mobot.org> writes:
Show 6 quoted lines
> Junio C Hamano <junkio@cox.net> wrote:
>
>> Are you sure bash-completion is the culprit, not your CDPATH?
>
> Sorry, I was half-asleep yesterday.  Of course it was CDPATH and not 
> bash-completion.

Thanks for confirmation. This suggests in t/test-lib.sh we'd better have "unset CDPATH" near the top to prevent surprises like this.

Previous: Ron ParkerNext: Ron Parker
Message 7 of 8 in “Fix tests when using bash_completion”
  1. Fix tests when using bash_completionRon Parker, Apr 23, 2007
  2. Junio C HamanoApr 23, 2007
  3. Julian PhillipsApr 23, 2007
  4. Junio C HamanoApr 23, 2007
  5. [OT] CDPATH (was: Re: [PATCH] Fix tests when using bash_completion)Julian Phillips, Apr 23, 2007
  6. Ron ParkerApr 24, 2007
  7. Junio C HamanoApr 24, 2007
  8. Unset CDPATH in the test libraryRon Parker, Apr 24, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.