mirror of
https://github.com/go-gitea/git.git
synced 2026-07-19 14:33:37 -04:00
[PR #92] Add Storage interface for different implementation of git tags #98
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/92
Author: @lunny
Created: 11/21/2017
Status: 🔄 Open
Base:
master← Head:lunny/get_tag📝 Commits (2)
d88615bAdd support for packed refs in GetTags() (#31)9cf5ff5Add Storage interface for different implementation of git tags📊 Changes
15 files changed (+218 additions, -26 deletions)
View changed files
➕
refs.go(+73 -0)📝
repo_tag.go(+1 -26)➕
repo_test.go(+33 -0)➕
storage.go(+87 -0)➕
testdata/test_loose_refs.git/refs/tags/v1.0.0(+1 -0)➕
testdata/test_loose_refs.git/refs/tags/v1.2.1(+1 -0)➕
testdata/test_loose_refs.git/refs/tags/v2.0.0(+1 -0)➕
testdata/test_loose_refs.git/refs/tags/v3.0.0(+1 -0)➕
testdata/test_loose_refs.git/refs/tags/v3.1.0(+1 -0)➕
testdata/test_loose_refs.git/refs/tags/v3.10.1(+1 -0)➕
testdata/test_mixed_refs.git/packed-refs(+6 -0)➕
testdata/test_mixed_refs.git/refs/tags/v3.0.0(+1 -0)➕
testdata/test_mixed_refs.git/refs/tags/v3.1.0(+1 -0)➕
testdata/test_mixed_refs.git/refs/tags/v3.10.1(+1 -0)➕
testdata/test_packed_refs.git/packed-refs(+9 -0)📄 Description
Also cherry-picked from github.com/gogits/git 16c37513c71a92abb31ffd8d8bd2308cb1016162.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.