git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
browser: sort non-numeric version numbers last
[sheet.git]
/
browser.plp
diff --git
a/browser.plp
b/browser.plp
index beff4a9a99a251344883eb8d660de8f713541def..9fd9e9069490b8142a50179236c13de36257893c 100644
(file)
--- a/
browser.plp
+++ b/
browser.plp
@@
-395,7
+395,7
@@
sub paddedver {
# normalised version number comparable as string (cmp)
shift =~ /(?:.*-|^)(\d*)(.*)/;
# matched (major)(.minor) of last value in range (a-B)
- return sprintf('%02d', $1 ||
0
) . $2;
+ return sprintf('%02d', $1 ||
99
) . $2;
}
sub showversions {