From 893c2f2d90b3d599e0f05402bd5809845ac89ce0 Mon Sep 17 00:00:00 2001 From: FermeLeLundi Date: Thu, 28 Nov 2024 10:31:28 +0000 Subject: [PATCH] Update modules/git/repo_commit.go Typo --- modules/git/repo_commit.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }