diff options
author | sergemedvid <mserge@newtonideas.com> | 2022-09-14 15:11:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 14:11:24 +0200 |
commit | e07d089be0f214117e160753a3f06f13a4e5e35b (patch) | |
tree | b0ec0985a2d48adce7621f8712eb0701bf9a7440 /modules/references | |
parent | 5933f04094df2baa7e47d3d4372ad2fdfa2b6207 (diff) | |
download | gitea-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