Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: Pretty date option for git tag?

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:46:47

dloewenherz@gmail.com venit, vidit, dixit 18.05.2009 17:14:
It is relatively hard to verify the date a tag was created unless it was been
gpg/pgp-signed at the time of creation, no? I suppose that the Unix timestamp
included in each tag file is useful for sorting, but it's not very easy for
people to digest.  Additionally, we have our `log.date` config, why not use it
here for some sort of option, like `--pretty=date` to make it easy to see when
a tag was created?

I.e.

$ git tag -l --pretty=date
...
Mon, 13 Apr 2009 00:06:25: v1.6.3-rc0
Sat, 18 Apr 2009 22:11:00: v1.6.3-rc1 
Sat, 25 Apr 2009 06:01:13: v1.6.3-rc2 
Sun, 26 Apr 2009 23:43:48: v1.6.3-rc3 
Sat, 02 May 2009 06:32:21: v1.6.3-rc4 
Wed, 13 May 2009 05:30:37: v1.6.3.1

I don't know if this is feasible. Perhaps there already exists a feature for
this that I'm unaware of. Or maybe this would be a waste of time.
You might want to experiment with

git log --tags --simplify-by-decoration --pretty="format:%ai %s"

which may show a few more commits than just the tags but comes close to
the output you envisage.

Michael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help