[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Git tag date incorrect (in 1970)
From: |
Thomas Schmitt |
Subject: |
Re: Git tag date incorrect (in 1970) |
Date: |
Thu, 28 Nov 2024 09:15:19 +0100 |
Hi,
Sid T wrote:
> I have a git tag alias (git--tag-sortdate) which sorts by git tag date (most
> recent last).
> It was printing 1.4.6 as the last line, which was confusing.
> Looking into the issue, it appears that git tags after 1.4.6 have 1970 as
> timestamp, and are present at the top of the list.
> $ git--tag-sortdate
> 1970-01-01 01:00 Updated change log
> ...
> 1970-01-01 01:00 Updated change log
>
> 2006-09-16 20:49 ZeroTwoTwo@145 Perfomed version leap in respect to
> ...
> 2016-09-16 20:20 1.4.6 libburn release 1.4.6 is ready
> Thomas Schmitt
I don't have this alias and thus don't know what it does exactly.
Further it would be important to know from where your git clone
(of libburn ?) was made.
Most noticable is the lack of tag names in the ouput of your program run.
Locally performed
git tag
lists these names:
release-1.4.8
release-1.5.0
release-1.5.2
release-1.5.2.pl01
release-1.5.4
release-1.5.6
I cannot get "git tag" to list dates, which might be due to lack of git
experience.
But
https://dev.lovelyhq.com/libburnia/libburn/tags
and locally performed
git log git log --decorate=full --tags
show plausible dates and tag names:
commit 4628231cece66949e08b2f1c1ee2ac9d8797814f (tag: refs/tags/release-1.5.6)
Author: Thomas Schmitt <scdbackup@gmx.net>
Date: Wed Jun 7 15:54:15 2023 +0200
...
commit d3bd97c05e3e154fd1cfdaf4f4f478d7aa109ddf (tag: refs/tags/release-1.5.4)
Author: Thomas Schmitt <scdbackup@gmx.net>
Date: Sat Jan 30 16:41:02 2021 +0100
...
commit 4c0ebf1a1576d6b6799f31c0671bea6c8b54e8c7 (tag:
refs/tags/release-1.5.2.pl01, refs/remotes/origin/release-1.5.2.pl01)
Author: Thomas Schmitt <scdbackup@gmx.net>
Date: Mon Nov 25 19:44:20 2019 +0100
...
commit c2bcf78c81fcda1af9bc8a7fd048e8aeeb92127a (tag: refs/tags/release-1.5.0)
Author: Thomas Schmitt <scdbackup@gmx.net>
Date: Sat Sep 15 13:48:46 2018 +0200
...
commit 260fc2983d7822bc6ff90fd2d33e7e531490885a (tag: refs/tags/release-1.4.8)
Author: Thomas Schmitt <scdbackup@gmx.net>
Date: Tue Sep 12 13:39:54 2017 +0200
...
commit 8b374ba2d229e8db002d161d13d6be1b740ab080 (tag: refs/tags/1.4.6)
Author: Thomas Schmitt <scdbackup@gmx.net>
Date: Fri Sep 16 19:20:57 2016 +0000
...
Have a nice day :)
Thomas