All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Greg Louis <glouis@dynamicro.ca>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Redirect cd output to /dev/null, was: git-clone seems dead
Date: Sun, 11 Sep 2005 18:47:30 -0700	[thread overview]
Message-ID: <7vwtlnm4zx.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20050911230136.GA15224@athame.dynamicro.on.ca> (Greg Louis's message of "Sun, 11 Sep 2005 19:01:36 -0400")

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.

  reply	other threads:[~2005-09-12  1:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-11 18:13 git-clone seems dead Peter Eriksen
2005-09-11 19:04 ` Junio C Hamano
2005-09-11 22:04   ` Greg Louis
2005-09-11 23:01     ` [PATCH] Redirect cd output to /dev/null, was: " Greg Louis
2005-09-12  1:47       ` Junio C Hamano [this message]
2005-09-12  9:22         ` Peter Eriksen
2005-09-12 10:56         ` Greg Louis
2005-09-12 12:29           ` Junio C Hamano
2005-09-12 16:36             ` Greg Louis
2005-09-12 19:53               ` Junio C Hamano
2005-09-13 11:07                 ` Greg Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vwtlnm4zx.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=glouis@dynamicro.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.