diff --git a/modules/git/repo_commit.go b/modules/git/repo_commit.go index 16ecb713a0..a2bfa43c09 100644 --- a/modules/git/repo_commit.go +++ b/modules/git/repo_commit.go @@ -23,8 +23,8 @@ func (repo *Repository) GetBranchCommitID(name string) (string, error) { } // GetTagCommitID returns last commit ID string of given tag. If the tag is an -// annoted tag it will return the objectID of that tag instead of the commitID -// the tag is pointing to. `GetTagCommit` handles annoted tags correctly. +// annotated tag it will return the objectID of that tag instead of the commitID +// the tag is pointing to. `GetTagCommit` handles annotated tags correctly. func (repo *Repository) GetTagCommitID(name string) (string, error) { return repo.GetRefCommitID(TagPrefix + name) }