mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00:00
Rename pull request GetGitRefName to GetGitHeadRefName (#35093)
This commit is contained in:
@@ -50,7 +50,7 @@ func (p *PullRequest) IsForkPullRequest() bool {
|
||||
}
|
||||
|
||||
// GetGitRefName returns pull request relative path to head
|
||||
func (p PullRequest) GetGitRefName() string {
|
||||
func (p PullRequest) GetGitHeadRefName() string {
|
||||
return fmt.Sprintf("%s%d/head", git.PullPrefix, p.Number)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user