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

Re: git --exec-path conversion

From
MCMarco Costalba <mcostalba@yahoo.it>
Date
Nov 19, 2005, 13:50 UTC
Message-ID
<20051119135005.54838.qmail@web26314.mail.ukl.yahoo.com>
Junio C Hamano wrote:
Show 15 quoted lines
>Marco Costalba <mcostalba@yahoo.it> writes:
>
>>if I understood correctly, git programs will be installed
>>somewhere in $PATH for at least next two months.
>
>
>I suspect things will stay in /usr/bin longer than that, but
>futureproofing is good in any case.
>
>Assuming you are writing things in C or C++:
>
> - run "git --exec-path" at the very beginning of main(),
> - read the output, prepend it to $PATH using setenv(3).
>
>and I think you are done. 
Yes. Thanks.
		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
Message 1 of 1 in “Re: git --exec-path conversion”
  1. Marco CostalbaNov 19, 2005

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.