[PR #122] [MERGED] Add function to resolve short commit ID to full SHA1 #127

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/git/pull/122
Author: @lafriks
Created: 6/4/2018
Status: Merged
Merged: 6/12/2018
Merged by: @lafriks

Base: masterHead: feat/get_full_commit_id


📝 Commits (2)

  • a6cc948 Add function to resolve short commit ID to full SHA1
  • c85816a Add tests for GetFullCommitID

📊 Changes

2 files changed (+30 additions, -0 deletions)

View changed files

📝 commit.go (+16 -0)
📝 commit_test.go (+14 -0)

📄 Description

Needed for go-gitea/gitea#4127


🔄 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/122 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 6/4/2018 **Status:** ✅ Merged **Merged:** 6/12/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `feat/get_full_commit_id` --- ### 📝 Commits (2) - [`a6cc948`](https://github.com/go-gitea/git/commit/a6cc9480d4e569858ec1fea24efd9f91bd57e676) Add function to resolve short commit ID to full SHA1 - [`c85816a`](https://github.com/go-gitea/git/commit/c85816adb318b663598d8a9b441523713ca04834) Add tests for GetFullCommitID ### 📊 Changes **2 files changed** (+30 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `commit.go` (+16 -0) 📝 `commit_test.go` (+14 -0) </details> ### 📄 Description Needed for go-gitea/gitea#4127 --- <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:12 -05:00
yindo closed this issue 2026-02-16 10:24:12 -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#127