Re: How to show an annotated tag's timestamp?

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

 



2008/8/12 Dirk Süsserott <newsletter@xxxxxxxxxxx>:> I'd like to display *when* a certain annotated tag was> created, i.e. its timestamp. I know two ways but am looking> for a third one:>> Gitk: When clicking the yellow tag item (called 'testtag'> in my case) it says:> -------------> object 9a04a26d3e5ea09be32934f50020d0286ebe7325> type commit> tag testtag> tagger <tagger's name> <tagger's email-address> 1218568300 +0200> -------------> Well, I can convert 1218568300 into some human readable string,> but that's not convenient.>> So I tried 'git show testtag'. It says:> -------------> (*) tag testtag> (*) Tagger: <tagger's name> <tagger's email-address>> (*) Date:   Tue Aug 12 21:17:17 2008 +0200> (*)> (*) testtag> commit 0a62b3380d21bf65270490619da4a2efd6d2ca7a> Author: ...> Date:   Thu Apr 24 18:49:38 2008 +0200> [...]> ------------->> ... followed by the whole commit message and diff of the> commit that's pointed to by the tag. That's too much for> my purpose.>> Is there a way to output only when and by whom the tag> was created (incl. the tag's messsage), i.e. the lines> above marked with (*)?
% git show -s --pretty=format: v1.6.0-rc2tag v1.6.0-rc2Tagger: Junio C Hamano <gitster@xxxxxxxxx>Date:   Wed Aug 6 14:00:41 2008 -0700
GIT 1.6.0-rc2-----BEGIN PGP SIGNATURE-----Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBImhD8wMbZpPMRm5oRAprGAJ4k+2+jTI9T/DTP9qwaUjfgIQFdEACdGjx0af/UsRH5qpeRHQ8f3eCNd54==S9PO-----END PGP SIGNATURE-----

-- Mikael Magnusson��.n��������+%������w��{.n��������n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m


[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]

  Powered by Linux