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, 11:32 UTC
Message-ID
<20051119113247.91022.qmail@web26311.mail.ukl.yahoo.com>
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
Next: Johannes Schindelin
Message 1 of 2 in “Re: git --exec-path conversion”
  1. Marco CostalbaNov 19, 2005
  2. Johannes SchindelinNov 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.