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

Re: [PATCH] When exec'ing sub-commands, fall back on execvp (thePATH)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 20, 2007, 20:25 UTC
Message-ID
<Pine.LNX.4.64.0710202124050.25221@racer.site>
In-Reply-To
<1192867937.v2.fusewebmail-240137@f>
Hi,

[please do not top post. Just delete everything you do not reply to, and put your answers below the text you are replying to. This spares others so much time.]

On Sat, 20 Oct 2007, Scott R Parish wrote:
Show 5 quoted lines
> The theoretical drawback to this approach is that it could possibly 
> effect the order in which the paths are tried. For instance, if a user 
> did "export GIT_EXEC_PATH=", then the builtin_exec_path wouldn't be 
> tried before the PATH. (i doubt that it would be a problem, but thought 
> i should note it)
In that respect, my code does not change anything from your code.

Ciao, Dscho

Previous: Scott R ParishNext: Scott Parish
Message 2 of 17 in “Re: [PATCH] When exec'ing sub-commands, fall back on execvp (thePATH)”
  1. Scott R ParishOct 20, 2007
  2. Johannes SchindelinOct 20, 2007
  3. Scott ParishOct 20, 2007
  4. execv_git_cmd(): also try PATH if everything else fails.Johannes Schindelin, Oct 20, 2007
  5. Shawn O. PearceOct 21, 2007
  6. execv_git_cmd(): also try PATH if everything else fails.Johannes Schindelin, Oct 21, 2007
  7. Shawn O. PearceOct 22, 2007
  8. Johannes SchindelinOct 22, 2007
  9. Shawn O. PearceOct 23, 2007
  10. Johannes SchindelinOct 23, 2007
  11. Scott ParishOct 22, 2007
  12. Andreas EricssonOct 22, 2007
  13. Johannes SixtOct 22, 2007
  14. Andreas EricssonOct 23, 2007
  15. Johannes SixtOct 23, 2007
  16. Scott ParishOct 21, 2007
  17. Johannes SchindelinOct 21, 2007

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.