0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-14 21:47:38 +02:00

Update modules/git/repo_commit.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Lunny Xiao 2026-03-23 16:52:07 -07:00 committed by GitHub
parent 3c599a7d13
commit 437463d719
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ func (repo *Repository) GetTagCommitID(name string) (string, error) {
// GetCommit returns commit object of by ID string.
func (repo *Repository) GetCommit(commitID string) (*Commit, error) {
if commit, ok := repo.commitCache[commitID]; ok {
log.Debug("repo commitCache hit: [%s:%s:%s]", repo.Path, commitID)
log.Debug("repo commitCache hit: [%s:%s]", repo.Path, commitID)
return commit, nil
}