aboutsummaryrefslogtreecommitdiff
path: root/modules/git/repo_tag.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_tag.go')
-rw-r--r--modules/git/repo_tag.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/git/repo_tag.go b/modules/git/repo_tag.go
index 8f37d31a..a1f81649 100644
--- a/modules/git/repo_tag.go
+++ b/modules/git/repo_tag.go
@@ -69,7 +69,7 @@ func (repo *Repository) getTag(id sha1) (*Tag, error) {
// Tag is a commit.
if ObjectType(tp) == COMMIT {
tag := &Tag{
- Id: id,
+ ID: id,
Object: id,
Type: string(COMMIT),
repo: repo,
@@ -89,7 +89,7 @@ func (repo *Repository) getTag(id sha1) (*Tag, error) {
return nil, err
}
- tag.Id = id
+ tag.ID = id
tag.repo = repo
repo.tagCache[id] = tag