summaryrefslogtreecommitdiffstats
path: root/modules/references
diff options
context:
space:
mode:
authorsergemedvid <mserge@newtonideas.com>2022-09-14 15:11:24 +0300
committerGitHub <noreply@github.com>2022-09-14 14:11:24 +0200
commite07d089be0f214117e160753a3f06f13a4e5e35b (patch)
treeb0ec0985a2d48adce7621f8712eb0701bf9a7440 /modules/references
parent5933f04094df2baa7e47d3d4372ad2fdfa2b6207 (diff)
downloadgitea-e07d089be0f214117e160753a3f06f13a4e5e35b.tar.gz
gitea-e07d089be0f214117e160753a3f06f13a4e5e35b.zip
Sort branches and tags by date descending (#21136)
This fixes #5709 and #17316 by changing the order of listed branches and tags to show the ones with latest commits atop. It's achieved with changing underlying "show-ref" git command with "for-each-ref" as suggested in https://stackoverflow.com/a/5188364 Also, it's passing format string so the output matches "show-ref" command output. close #5709 close #17316
Diffstat (limited to 'modules/references')
0 files changed, 0 insertions, 0 deletions