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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, 15 Dec 2006, Santi Béjar wrote:

> On 12/14/06, Johannes Schindelin <Johannes.Schindelin@xxxxxx> 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@xxxxxxx>
> 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?

> > +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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]