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

Re: "git cat-file <sha1>" shows usage but should not?

From
Jeff King <peff@peff.net>
Date
Apr 15, 2009, 17:34 UTC
Message-ID
<20090415173440.GA25480@coredump.intra.peff.net>
In-Reply-To
<7vprfdvnrj.fsf@gitster.siamese.dyndns.org>
On Wed, Apr 15, 2009 at 10:18:40AM -0700, Junio C Hamano wrote:
> > I think curly makes the most sense for grouping, though I still think it
> > is a bit ugly. Patch is below.
> 
> Thanks.  Doesn't this remind us of $gmane/72243, by the way?

Ah, yes. I felt like we had dealt with this before, but I couldn't remember for what.

That message indicates that {} is preferred to (). Interestingly, though, the stash usage and documentation still uses ().

-Peff
Previous: Junio C HamanoNext: Julian Phillips
Message 6 of 8 in “"git cat-file <sha1>" shows usage but should not?”
  1. Sebastian PippingApr 15, 2009
  2. Jeff KingApr 15, 2009
  3. Sebastian PippingApr 15, 2009
  4. Jeff KingApr 15, 2009
  5. Junio C HamanoApr 15, 2009
  6. Jeff KingApr 15, 2009
  7. Julian PhillipsApr 15, 2009
  8. Jeff KingApr 15, 2009

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.