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

Re: [PATCH v3] git: make "git -C '' <cmd>" not to barf

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Mar 6, 2015, 15:57 UTC
Message-ID
<87d24mnmon.fsf@igel.home>
In-Reply-To
<1425625534-11869-1-git-send-email-karthik.188@gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
> +			if (*((*argv)[1]) == 0)
IMHO (*argv)[1][0] is easier to understand.
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: karthik nayakNext: Junio C Hamano
Message 4 of 5 in “git: make "git -C '' <cmd>" not to barf”
  1. git: make "git -C '' <cmd>" not to barfKarthik Nayak, Mar 6, 2015
  2. Eric SunshineMar 6, 2015
  3. karthik nayakMar 6, 2015
  4. Andreas SchwabMar 6, 2015
  5. Junio C HamanoMar 6, 2015

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.