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

Re: [PATCH] git-show: grok blobs, trees and tags, too

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 15, 2006, 10:22 UTC
Message-ID
<Pine.LNX.4.63.0612151122080.3635@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<8aa486160612150118y44744533t16af6d3086ac6b21@mail.gmail.com>
Hi,
On Fri, 15 Dec 2006, Santi Béjar wrote:
Show 23 quoted lines
> On 12/14/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > 
> > Since git-show is pure Porcelain, it is the ideal candidate to
> > pretty print other things than commits, too.
> 
> I think "git show ${tag}" should be more like "git show ${commit}",
> that is, with the tagger and date information and the indent, as:
> 
> $ git show v1.4.4.2
> tag v1.4.4.2
> Tagger: Junio C Hamano <junkio@cox.net>
> Date: ${Date}
> 
>    GIT 1.4.4.2
>    -----BEGIN PGP SIGNATURE-----
>    Version: GnuPG v1.4.5 (GNU/Linux)
> 
>    iD8DBQBFdx8+wMbZpPMRm5oRAsOXAJsGY8DIYey1TZlEXIGq5+8MNgEl1QCfQC0f
>    c5SmdLmAm2KPsCf+bCuoK+k=
>    =oDuA
>    -----END PGP SIGNATURE-----
> commit 49ed2bc4660c7cd0592cf21cc514080574d06320
> ...
Okay. You code it?
Show 12 quoted lines
> > +EXAMPLES
> > +--------
> > +
> > +git show v1.0.0::
> > +       Shows the tag `v1.0.0`.
> 
> and the commit (or object) it references.
> 
> I would add:
> 
> git show v1.0.0^{}::
>      Shows only the commit referenced by the tag `v1.0.0`.
Okay. You provide a patch?

Ciao, Dscho

Previous: Santi Béjar
Message 9 of 9 in “git-show: grok blobs, trees and tags, too”
  1. git-show: grok blobs, trees and tags, tooJohannes Schindelin, Dec 14, 2006
  2. Shawn PearceDec 14, 2006
  3. Johannes SchindelinDec 14, 2006
  4. Junio C HamanoDec 14, 2006
  5. Johannes SchindelinDec 14, 2006
  6. Jakub NarebskiDec 15, 2006
  7. Johannes SchindelinDec 15, 2006
  8. Santi BéjarDec 15, 2006
  9. Johannes SchindelinDec 15, 2006

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.