threads / discuss / 2602

Re: git --exec-path conversion

Subject: Re: git --exec-path conversion

## tl;dr

2 messages between Nov 19, 2005 and Nov 19, 2005.

replies: 1people: 2as markdown or json

Marco Costalba· Nov 19, 2005, 11:32 UTC · lore
Johannes Schindelin wrote:
Show 11 quoted lines
>Hi,
>
>On Sat, 19 Nov 2005, Marco Costalba wrote:
>
>>    if (cmd.left(3) == "git") 
>>         cmd = cmd.prepend(exec-path);
>
>
>Little nit: Test for "git-", because "git" and "gitk" will stay in the 
>PATH.
>
You are rights. Thanks.
Also 'exec-path' is not a valid C++ identifier, it should be
    if (cmd.left(4) == "git-") 
         cmd = cmd.prepend(exec_path);
Incredible how many errors in only two lines of code :-)
Marco
		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
Johannes Schindelin· Nov 19, 2005, 13:51 UTC · re: Marco Costalba · lore
Hi,
On Sat, 19 Nov 2005, Marco Costalba wrote:
> Incredible how many errors in only two lines of code :-)

If you want to know how to introduce 3 bugs in just 512 bytes of production code (i.e. not a development version), see

	http://www.xbox-linux.org/wiki/The_Hidden_Boot_Code_of_the_Xbox

Ciao, Dscho

← back to recent threads