[PR #81] [MERGED] Add method to allow custom sorting of tree entry list #87

Closed
opened 2026-02-16 10:24:04 -05:00 by yindo · 0 comments
Owner

📋 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: masterHead: feat/custom_entries_sort


📝 Commits (2)

  • 0ff0941 Add method to allow custom sorting of tree entry list
  • 4b42683 Add 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.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/git/pull/81 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 9/14/2017 **Status:** ✅ Merged **Merged:** 9/16/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `feat/custom_entries_sort` --- ### 📝 Commits (2) - [`0ff0941`](https://github.com/go-gitea/git/commit/0ff0941067c06233786442d555eeb9e379e3d89e) Add method to allow custom sorting of tree entry list - [`4b42683`](https://github.com/go-gitea/git/commit/4b42683aae4cfe103adf6dba93d071da633543a1) Add tests for git tree entries sorting ### 📊 Changes **2 files changed** (+71 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `tree_entry.go` (+28 -12) 📝 `tree_entry_test.go` (+43 -0) </details> ### 📄 Description Needed to implement natural dir/file sorting in gitea --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:24:04 -05:00
yindo closed this issue 2026-02-16 10:24:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-gitea/git#87