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

Re: [RFD/BUG?] git show with tree/commit

From
Jeff King <peff@peff.net>
Date
Apr 12, 2016, 16:34 UTC
Message-ID
<20160412163420.GA23462@sigill.intra.peff.net>
In-Reply-To
<570D154D.6090006@drmicha.warpmail.net>
On Tue, Apr 12, 2016 at 05:33:33PM +0200, Michael J Gruber wrote:
Show 7 quoted lines
> $ git show cab2cdadfda8e8e8631026443b11d3ed6e7ba517:
> tree cab2cdadfda8e8e8631026443b11d3ed6e7ba517:
> 
> .gitattributes
> .gitignore
> .mailmap
> ...

As Junio pointed out, the colon here is not syntactic, but from the original object name you gave it. But here...

Show 7 quoted lines
> $ git show 04050d37b1676ba8da277be1902513049b45413a:
> tree 04050d37b1676ba8da277be1902513049b45413a
> 
> .gitattributes
> .gitignore
> .mailmap
> ...
...it is missing. Did you mean to omit it from the command-line?
-Peff
Previous: Michael J GruberNext: Junio C Hamano
Message 5 of 6 in “[RFD/BUG?] git show with tree/commit”
  1. Michael J GruberApr 12, 2016
  2. Junio C HamanoApr 12, 2016
  3. Michael J GruberApr 13, 2016
  4. Michael J GruberApr 13, 2016
  5. Jeff KingApr 12, 2016
  6. Junio C HamanoApr 12, 2016

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.