On Sun, Aug 06, 2017 at 09:14:15AM -0700, Michael wrote:
> > # get most recent annotated tag (by time-of-tagging)
> > $ git for-each-ref --sort='-*committerdate' refs/tags | head --lines=1
> >
> > # get most recent lightweight tag (by time-of-commit)
> > $ git for-each-ref
Thanks folks, that makes for some interesting feedback.
On the best way to accomplish the task at hand: thank you for the
examples, Sylvie! While skimming git-tag(1)'s manpage, I also found
this gem:
--sort=
Sort in a specific order. Supported type is "refname"
(lexicographic
On Sunday, August 6, 2017 at 6:14:24 PM UTC+2, Michael Gersten wrote:
>
>
> On 2017-08-05, at 9:26 PM, G. Sylvie Davies > wrote:
>
>
> # get most recent annotated tag (by time-of-tagging)
> $ git for-each-ref --sort='-*committerdate' refs/tags | head --lines=1
>
> # get
On Sunday, August 6, 2017 at 9:14:24 AM UTC-7, Michael Gersten wrote:
>
>
> On 2017-08-05, at 9:26 PM, G. Sylvie Davies > wrote:
>
>
> # get most recent annotated tag (by time-of-tagging)
> $ git for-each-ref --sort='-*committerdate' refs/tags | head --lines=1
>
> #
On 2017-08-05, at 9:26 PM, G. Sylvie Davies wrote:
>
> # get most recent annotated tag (by time-of-tagging)
> $ git for-each-ref --sort='-*committerdate' refs/tags | head --lines=1
>
> # get most recent lightweight tag (by time-of-commit)
> $ git for-each-ref
AM
Subject: [git-users] Re: git describe's way of choosing the "most recent" tag
On Saturday, August 5, 2017 at 2:04:07 PM UTC-7, Kévin Le Gouguec wrote:
Hi,
Not sure this is a bug; I might just misunderstand git-describe's
algorithm. I am on Debian Jessie with git ver
On Saturday, August 5, 2017 at 2:04:07 PM UTC-7, Kévin Le Gouguec wrote:
>
> Hi,
>
> Not sure this is a bug; I might just misunderstand git-describe's
> algorithm. I am on Debian Jessie with git version 2.1.4; I also get
> the same behavior on next (98096fd7a85b93626db8757f944f2d8ffdf7e96a).
>
>