git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git tag output order is incorrect (IMHO)

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Sep 8, 2013, 22:49 UTC
Message-ID
<CAMP44s3p_DRTvBhKbM0ejKgea9hauSCzahPux4jCWL7JP4nxKw@mail.gmail.com>
In-Reply-To
<840FACA0-7E13-41DB-A0F8-124FAB53BFBD@rtcamp.com>
On Thu, Jul 18, 2013 at 10:27 AM, Rahul Bansal <rahul.bansal@rtcamp.com> wrote:
Show 11 quoted lines
> I am posting here first time, so please excuse me if this is not right place to send something like this.
>
> Please check - http://stackoverflow.com/questions/6091306/can-i-make-git-print-x-y-z-style-tag-names-in-a-sensible-order
>
> And also - https://github.com/gitlabhq/gitlabhq/issues/4565
>
> IMHO "git tag" is expected to show tag-list ordered by versions.
>
> It may be case, that people do not follow same version numbering convention. Most people after x.9.x increment major version (that is why they may not be affected because of this)
>
> Another option like "git tag --date-asc" can be added which will print tags by creation date. (As long as people do not create backdated tag, this will work).

I completely agree, and there was a proposal to an option like this a long time ago:

http://article.gmane.org/gmane.comp.version-control.git/111032
-- 
Felipe Contreras
Previous: Antoine PelisseNext: Phil Hord
Message 14 of 16 in “Git tag output order is incorrect (IMHO)”
  1. Rahul BansalJul 18, 2013
  2. Duy NguyenJul 18, 2013
  3. Duy NguyenJul 18, 2013
  4. Rahul BansalJul 18, 2013
  5. Rahul BansalJul 18, 2013
  6. Duy NguyenJul 18, 2013
  7. Andreas SchwabJul 18, 2013
  8. Junio C HamanoJul 19, 2013
  9. Jeff KingJul 20, 2013
  10. Antoine PelisseAug 20, 2013
  11. Jeff KingSep 8, 2013
  12. Jeff KingOct 16, 2013
  13. Antoine PelisseOct 16, 2013
  14. Felipe ContrerasSep 8, 2013
  15. Phil HordSep 11, 2013
  16. Junio C HamanoSep 11, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.