mirror of
https://github.com/go-gitea/git.git
synced 2026-07-01 20:34:42 -04:00
[PR #147] [MERGED] fix bug when get tag id #146
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/147
Author: @lunny
Created: 3/1/2019
Status: ✅ Merged
Merged: 3/1/2019
Merged by: @lunny
Base:
master← Head:lunny/fix_get_tag_commit_id📝 Commits (3)
c14cb50fix bug when get tag idfb7d134fix wrong testfa27770use GetTagCommitID on getTag but not git command📊 Changes
3 files changed (+24 additions, -4 deletions)
View changed files
📝
repo_commit.go(+8 -1)📝
repo_tag.go(+2 -2)📝
repo_tag_test.go(+14 -1)📄 Description
This will fix https://github.com/go-gitea/gitea/issues/5585
It seems
will not give the right commit id of this tag, but
will return the right commit id.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.