]> source.dussan.org Git - gitea.git/commit
Sort repository tree entries in natural way (#2506)
authorLauris BH <lauris@nix.lv>
Tue, 19 Sep 2017 08:37:03 +0000 (11:37 +0300)
committerGitHub <noreply@github.com>
Tue, 19 Sep 2017 08:37:03 +0000 (11:37 +0300)
commit23645fe05f16b44c1d430c165fd0c2839e518eee
treea0540625123b996edbe6a389ee578fadc3dfa236
parent4cb9394a978af75794d43accc231b6649f2884bc
Sort repository tree entries in natural way (#2506)

* Sort repository tree entries in natural way

* Fix sort for different length strings with first parts equal

* Improve test case

* Refactor return statements

* Update gitea/git dependency
modules/base/natural_sort.go [new file with mode: 0644]
modules/base/natural_sort_test.go [new file with mode: 0644]
routers/repo/view.go
vendor/code.gitea.io/git/tree_entry.go
vendor/vendor.json