1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-10 04:27:22 +00:00

chore: fix some function names in comment (#32300)

fix some function names in comment
This commit is contained in:
wangjingcun
2024-10-22 08:41:05 +08:00
committed by GitHub
parent d638067d3c
commit 3d6ccbac3f
3 changed files with 3 additions and 3 deletions

View File

@ -701,7 +701,7 @@ func GetPullRequestByIssueID(ctx context.Context, issueID int64) (*PullRequest,
return pr, pr.LoadAttributes(ctx)
}
// GetPullRequestsByBaseHeadInfo returns the pull request by given base and head
// GetPullRequestByBaseHeadInfo returns the pull request by given base and head
func GetPullRequestByBaseHeadInfo(ctx context.Context, baseID, headID int64, base, head string) (*PullRequest, error) {
pr := &PullRequest{}
sess := db.GetEngine(ctx).