Package: git
Version: 1:2.1.4+next.20141218-2
Severity: normal
The tag sorting order is broken; the "version" specification doesn't
special-case "rc" or "pre" etc.
For example, on a Linux Kernel repository:
# git tag --sort=version:refname
...
v3.18-rc6
v3.18-rc7
v3.19
v3.19-rc1
v3.19-rc2
v3.19-rc3
I know that "sort" doesn't know about that either, but "git" should
understand these special tags - or, at least, provide a "--sort=time" to
sort by commit timestamp instead, so that it's easy to get the newest tag.
That would at least be chronologically; it still wouldn't work with
multiple release branches, but it would be an additional option at least.
Thank you.
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.17-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages git depends on:
ii git-man 1:2.1.4+next.20141218-2
ii libc6 2.19-13
ii libcurl3-gnutls 7.38.0-4
ii liberror-perl 0.17-1.1
ii libexpat1 2.1.0-6+b3
ii libpcre3 2:8.35-3.3
ii perl-modules 5.20.1-5
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages git recommends:
ii less 458-3
ii openssh-client [ssh-client] 1:6.7p1-3
ii patch 2.7.4-1
ii rsync 3.1.1-2+b1
Versions of packages git suggests:
ii gettext-base 0.19.3-2
pn git-arch <none>
pn git-cvs <none>
pn git-daemon-run | git-daemon-sysvinit <none>
pn git-doc <none>
pn git-el <none>
pn git-email <none>
ii git-gui 1:2.1.4+next.20141218-2
pn git-mediawiki <none>
ii git-svn 1:2.1.4+next.20141218-2
ii gitk 1:2.1.4+next.20141218-2
pn gitweb <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]