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

Re: how about removing --exec-path?

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jul 26, 2008, 06:48 UTC
Message-ID
<20080726064831.GA3698@blimp.local>
In-Reply-To
<alpine.DEB.1.00.0807260448210.26810@eeepc-johanness>
Johannes Schindelin, Sat, Jul 26, 2008 04:49:06 +0200:
Show 8 quoted lines
> On Fri, 25 Jul 2008, Alex Riesen wrote:
> 
> > The thing has at least this problem: is not passed to upload-pack when
> > running fetch.
> 
> It should be added to PATH, and so it is passed to upload-pack, amongst 
> others, in a sense.
> 

Yes, but next time upload-pack runs a program, it adds builtin exec path to PATH (because --exec-path not given to transport's uploadpack command). So it looks like this:

    $GIT_EXEC_PATH:/usr/local/libexec/git-core:/orig/exec-path:\
    $GIT_EXEC_PATH:/usr/local/libexec/git-core:$ORIG_USER_PATH

which kind of useless for debugging. So using GIT_EXEC_PATH is the only way (and why did we need more? Working around something?)

Previous: Johannes Schindelin
Message 3 of 3 in “how about removing --exec-path?”
  1. Alex RiesenJul 25, 2008
  2. Johannes SchindelinJul 26, 2008
  3. Alex RiesenJul 26, 2008

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.