git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Mouw <erik@harddisk-recovery.com>
To: "Randal L. Schwartz" <merlyn@stonehenge.com>
Cc: Hendrik Visage <hvjunk@gmail.com>,
	david@dgreaves.com, git@vger.kernel.org
Subject: Re: git vs git
Date: Mon, 30 Jan 2006 18:23:45 +0100	[thread overview]
Message-ID: <20060130172344.GA20867@harddisk-recovery.com> (raw)
In-Reply-To: <86acddirjr.fsf@blue.stonehenge.com>

On Mon, Jan 30, 2006 at 08:55:36AM -0800, Randal L. Schwartz wrote:
> >>>>> "Erik" == Erik Mouw <erik@harddisk-recovery.com> writes:
> 
> Erik>   #! /bin/sh
> Erik>   # sct: call git
> Erik>   gitpath=/path/to/git
> Erik>   export PATH=$gitpath:$PATH
> Erik>   exec $gitpath/git $*
> 
> You must not get a lot of spaces in your pathnames.

That usually doesn't happen in the kernel tree (which is what the OP
wants to follow).

> I think you want
> those last two lines to be:
> 
>         export PATH="$gitpath:$PATH"
>         exec "$gitpath/git" "$@"
> 
> Typical lazy shell programmer. :) :)

Hey, I said "untested" :) But yeah, you're right. Your syntax is
correct, every time I write such a wrapper I try to remember it...


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

  reply	other threads:[~2006-01-30 17:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-30 15:14 git vs git Hendrik Visage
2006-01-30 15:18 ` David Lang
2006-01-30 15:30 ` Josh Boyer
2006-01-30 15:37 ` Erik Mouw
2006-01-30 16:09   ` Hendrik Visage
2006-01-30 16:26     ` Johannes Schindelin
2006-01-30 16:55   ` Randal L. Schwartz
2006-01-30 17:23     ` Erik Mouw [this message]
2006-01-30 19:22       ` Junio C Hamano
2006-01-30 20:16 ` Martin Langhoff
2006-01-31  5:05   ` Hendrik Visage

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=20060130172344.GA20867@harddisk-recovery.com \
    --to=erik@harddisk-recovery.com \
    --cc=david@dgreaves.com \
    --cc=git@vger.kernel.org \
    --cc=hvjunk@gmail.com \
    --cc=merlyn@stonehenge.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).