From: Santi Béjar Date: Fri, 15 Dec 2006 09:18:58 GMT Subject: Re: [PATCH] git-show: grok blobs, trees and tags, too Message-ID: <8aa486160612150118y44744533t16af6d3086ac6b21@mail.gmail.com> In-Reply-To: On 12/14/06, Johannes Schindelin 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 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 ... > > +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`.