mirror of
https://github.com/go-gitea/git.git
synced 2026-07-21 09:55:28 -04:00
[PR #81] [MERGED] Add method to allow custom sorting of tree entry list #87
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-gitea/git/pull/81
Author: @lafriks
Created: 9/14/2017
Status: ✅ Merged
Merged: 9/16/2017
Merged by: @lafriks
Base:
master← Head:feat/custom_entries_sort📝 Commits (2)
0ff0941Add method to allow custom sorting of tree entry list4b42683Add tests for git tree entries sorting📊 Changes
2 files changed (+71 additions, -12 deletions)
View changed files
📝
tree_entry.go(+28 -12)📝
tree_entry_test.go(+43 -0)📄 Description
Needed to implement natural dir/file sorting in gitea
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.