git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Eric Sunshine <sunshine@sunshineco.com>
Cc: "Junio C Hamano" <gitster@pobox.com>,
	"David Rodríguez" <deivid.rodriguez@gmail.com>,
	"Matthew Rothenberg" <mroth@khanacademy.org>,
	"Git List" <git@vger.kernel.org>
Subject: Re: [PATCH] stop putting argv[0] dirname at front of PATH
Date: Wed, 22 Apr 2015 14:36:12 -0400	[thread overview]
Message-ID: <20150422183612.GD3535@peff.net> (raw)
In-Reply-To: <CAPig+cR1aAk053Lptq-vpsKtVP2nt9RF9YJxhNSicshEk7Ps7g@mail.gmail.com>

On Wed, Apr 22, 2015 at 02:23:27PM -0400, Eric Sunshine wrote:

> On Wed, Apr 22, 2015 at 2:14 PM, Jeff King <peff@peff.net> wrote:
> > Subject: stop putting argv[0] dirname at front of PATH
> >
> > When the "git" wrapper is invoked, we prepend the baked-in
> > exec-path to our PATH, so that any sub-processes we exec
> > will all find the git-foo commands that match the wrapper
> > version.
> > [...]
> > Given that the main motivation for git pulling the argv[0]
> 
> s/pulling/putting/

Heh. Too much git for me, I think.

-Peff

  reply	other threads:[~2015-04-22 18:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14 16:04 PATH modifications for git-hook processes Matthew Rothenberg
2015-04-14 17:17 ` Junio C Hamano
2015-04-15 15:00   ` Matthew Rothenberg
2015-04-16  6:17     ` Jeff King
2015-04-16  6:31       ` Jeff King
2015-04-22  0:39       ` David Rodríguez
2015-04-22 17:46       ` Junio C Hamano
2015-04-22 18:14         ` [PATCH] stop putting argv[0] dirname at front of PATH Jeff King
2015-04-22 18:23           ` Eric Sunshine
2015-04-22 18:36             ` Jeff King [this message]
2015-04-22 19:23           ` Jonathan Nieder
2015-04-22 20:00             ` Jeff King

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=20150422183612.GD3535@peff.net \
    --to=peff@peff.net \
    --cc=deivid.rodriguez@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=mroth@khanacademy.org \
    --cc=sunshine@sunshineco.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).