mirror of
https://github.com/go-gitea/git.git
synced 2026-07-19 22:44:05 -04:00
[PR #122] [MERGED] Add function to resolve short commit ID to full SHA1 #127
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/122
Author: @lafriks
Created: 6/4/2018
Status: ✅ Merged
Merged: 6/12/2018
Merged by: @lafriks
Base:
master← Head:feat/get_full_commit_id📝 Commits (2)
a6cc948Add function to resolve short commit ID to full SHA1c85816aAdd 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.