mirror of
https://github.com/go-gitea/gitea
synced 2025-10-30 10:58:27 +00:00
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
3.0 KiB
3.0 KiB