|
|
@ -573,9 +573,9 @@ func (m *webhookNotifier) NotifyCreateRef(pusher *models.User, repo *models.Repo |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
shaSum, err := gitRepo.GetBranchCommitID(refName) |
|
|
|
shaSum, err := gitRepo.GetRefCommitID(refFullName) |
|
|
|
if err != nil { |
|
|
|
log.Error("GetBranchCommitID[%s]: %v", refFullName, err) |
|
|
|
log.Error("GetRefCommitID[%s]: %v", refFullName, err) |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|