mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Rename pull request GetGitRefName to GetGitHeadRefName (#35093)
This commit is contained in:
		| @@ -414,7 +414,7 @@ func (pr *PullRequest) getReviewedByLines(ctx context.Context, writer io.Writer) | ||||
| } | ||||
|  | ||||
| // GetGitRefName returns git ref for hidden pull request branch | ||||
| func (pr *PullRequest) GetGitRefName() string { | ||||
| func (pr *PullRequest) GetGitHeadRefName() string { | ||||
| 	return fmt.Sprintf("%s%d/head", git.PullPrefix, pr.Index) | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user