mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-08 17:53:55 +09: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