1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-06 06:18:12 +00:00

Merge branch 'main' into lunny/refactor-issue

This commit is contained in:
Lunny Xiao
2024-11-21 12:08:03 -08:00
862 changed files with 21003 additions and 15953 deletions

View File

@@ -600,7 +600,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).