Skip to content

Commit 2f3908c

Browse files
code cleanup: remove dead code
1 parent ef6352c commit 2f3908c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/git/repo_tag.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@ func (repo *Repository) GetTagWithID(idStr, name string) (*Tag, error) {
111111
return tag, nil
112112
}
113113

114-
const (
115-
dualNullChar = "\x00\x00"
116-
forEachRefTagsFormat = `type %(objecttype)%00tag %(refname:short)%00object %(object)%00objectname %(objectname)%00tagger %(creator)%00message %(contents)%00signature %(contents:signature)%00%00`
117-
)
118-
119114
// GetTagInfos returns all tag infos of the repository.
120115
func (repo *Repository) GetTagInfos(page, pageSize int) ([]*Tag, int, error) {
121116
forEachRefFmt := foreachref.NewFormat("objecttype", "refname:short", "object", "objectname", "creator", "contents", "contents:signature")

0 commit comments

Comments
 (0)