threads / discuss / 2603

Re: git --exec-path conversion

Subject: Re: git --exec-path conversion

## tl;dr

One message between Nov 19, 2005 and Nov 19, 2005.

replies: 0people: 1as markdown or json

Marco Costalba· Nov 19, 2005, 13:50 UTC · lore
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

← back to recent threads