[PR #123] [MERGED] Improving / Exposing Git-Trees related features for Git-Trees API. #126

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/git/pull/123
Author: @Kasi-R
Created: 6/8/2018
Status: Merged
Merged: 11/26/2018
Merged by: @lafriks

Base: masterHead: master


📝 Commits (5)

  • 2dfb478 Exposed TreeEntry.mode, changed EntryMode to hex.
  • 7f4a5b6 Added reference parsing (HEAD, HEAD~1, etc) for trees
  • 4e5a911 Added missing description
  • 537cbee Added Tree.ListEntriesRecursive() - utilizes the git ls-tree -r command
  • 9cb3c44 Merge remote-tracking branch 'upstream/master'

📊 Changes

3 files changed (+33 additions, -5 deletions)

View changed files

📝 repo_tree.go (+9 -0)
📝 tree.go (+14 -0)
📝 tree_entry.go (+10 -5)

📄 Description

Additions to allow/improve Git-Trees API.

  • Exposes TreeEntry.mode through TreeEntry.Mode()
  • Fixes EntryMode consts (changed to hex)
  • Added revision parsing for trees (HEAD, HEAD~1, etc).

🔄 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/123 **Author:** [@Kasi-R](https://github.com/Kasi-R) **Created:** 6/8/2018 **Status:** ✅ Merged **Merged:** 11/26/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`2dfb478`](https://github.com/go-gitea/git/commit/2dfb478e3678c2b6b02052013fdda1c47467163b) Exposed TreeEntry.mode, changed EntryMode to hex. - [`7f4a5b6`](https://github.com/go-gitea/git/commit/7f4a5b66a1fc25d1c81679e7f275c0ebf4327107) Added reference parsing (HEAD, HEAD~1, etc) for trees - [`4e5a911`](https://github.com/go-gitea/git/commit/4e5a911246f76cf101ccb7dea7e8bf3e1f9ad069) Added missing description - [`537cbee`](https://github.com/go-gitea/git/commit/537cbeee9dc8b0e7c16be8b741545f80fb77d34b) Added Tree.ListEntriesRecursive() - utilizes the git ls-tree -r command - [`9cb3c44`](https://github.com/go-gitea/git/commit/9cb3c4487b354e35fd52418b3d25f471c9b8b35c) Merge remote-tracking branch 'upstream/master' ### 📊 Changes **3 files changed** (+33 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `repo_tree.go` (+9 -0) 📝 `tree.go` (+14 -0) 📝 `tree_entry.go` (+10 -5) </details> ### 📄 Description Additions to allow/improve Git-Trees API. - Exposes TreeEntry.mode through TreeEntry.Mode() - Fixes EntryMode consts (changed to hex) - Added revision parsing for trees (HEAD, HEAD~1, etc). --- <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:11 -05:00
yindo closed this issue 2026-02-16 10:24:11 -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#126