All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcus Griep <neoeinstein@gmail.com>
To: "Dirk Süsserott" <newsletter@dirk.my1.cc>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: How to show an annotated tag's timestamp?
Date: Tue, 12 Aug 2008 16:36:50 -0400	[thread overview]
Message-ID: <48A1F462.9000404@gmail.com> (raw)
In-Reply-To: <48A1E739.3010803@dirk.my1.cc>

Try this:

git log --pretty=format:"Tagger: %an <%ae>%nDate: %ad%n%n%b" -1 v1.6.0-rc1

Dirk Süsserott wrote:
> 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 (*)?
> 
> AHA,
>   Dirk
> 
> -- 
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Marcus Griep
GPG Key ID: 0x5E968152
——
http://www.boohaunt.net
את.ψο´

  parent reply	other threads:[~2008-08-12 20:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 19:40 How to show an annotated tag's timestamp? Dirk Süsserott
2008-08-12 20:35 ` Mikael Magnusson
2008-08-12 20:36 ` Marcus Griep [this message]
2008-08-14 22:00 ` Alex Riesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A1F462.9000404@gmail.com \
    --to=neoeinstein@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=newsletter@dirk.my1.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.