Post #1306082
2026-03-31 19:26 UTC
(For tags you have the date the tag was created if there’s a specific tag object, created with the -a, -s, or -u options to ‘git tag’, rather than just a ref directly to a commit)
Replies (1)
-
@dpk@chaos.social 2026-04-01 19:30
I am very surprised that ordering by date is less popular for tags than for branches Perhaps I should have explained that alphabetical order causes tag orderings like v0.1 < v0.11 < v0.2 < v0.3 …, which is entirely correct if your version numbers behave like decimal fractions and completely wrong if your version numbers behave like lexicographically-sorted series of integers separated by dots The latter is more popular nowadays, but using ‘natural’ ordering by name then breaks the other case