mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 14:12:37 +02:00
Rename pull request GetGitRefName to GetGitHeadRefName (#35093)
This commit is contained in:
1 parent
bc78a9a38a
commit
37958e486a
27 files changed
+81
-81
No files matched your search
@@ -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