Skip to content

Commit fd2d006

Browse files
authored
Update services/repository/push.go
1 parent c5e41c2 commit fd2d006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/repository/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func pushUpdates(optsList []*repo_module.PushUpdateOptions) error {
134134
} else { // is new tag
135135
newCommit, err := gitRepo.GetCommit(opts.NewCommitID)
136136
if err != nil {
137-
// in case there is dirty data, for example, the "github.com/git/git" repository has tags points to non-existing commits
137+
// in case there is dirty data, for example, the "github.com/git/git" repository has tags pointing to non-existing commits
138138
if !errors.Is(err, util.ErrNotExist) {
139139
log.Error("Unable to get tag commit: gitRepo.GetCommit(%s) in %s/%s[%d]: %v", opts.NewCommitID, repo.OwnerName, repo.Name, repo.ID, err)
140140
}

0 commit comments

Comments
 (0)