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

Re: git vs git

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Jan 30, 2006, 16:55 UTC
Message-ID
<86acddirjr.fsf@blue.stonehenge.com>
In-Reply-To
<20060130153715.GE30671@harddisk-recovery.com>
>>>>> "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. I think you want those last two lines to be:

        export PATH="$gitpath:$PATH"
        exec "$gitpath/git" "$@"
Typical lazy shell programmer. :) :)
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Johannes SchindelinNext: Erik Mouw
Message 7 of 11 in “git vs git”
  1. Hendrik VisageJan 30, 2006
  2. David LangJan 30, 2006
  3. Josh BoyerJan 30, 2006
  4. Erik MouwJan 30, 2006
  5. Hendrik VisageJan 30, 2006
  6. Johannes SchindelinJan 30, 2006
  7. Randal L. SchwartzJan 30, 2006
  8. Erik MouwJan 30, 2006
  9. Junio C HamanoJan 30, 2006
  10. Martin LanghoffJan 30, 2006
  11. Hendrik VisageJan 31, 2006

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.