summaryrefslogtreecommitdiffstats
path: root/modules/migration/pullrequest.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migration/pullrequest.go')
-rw-r--r--modules/migration/pullrequest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/migration/pullrequest.go b/modules/migration/pullrequest.go
index 498768ea48..bbf1fe7653 100644
--- a/modules/migration/pullrequest.go
+++ b/modules/migration/pullrequest.go
@@ -45,7 +45,7 @@ func (p *PullRequest) IsForkPullRequest() bool {
// GetGitRefName returns pull request relative path to head
func (p PullRequest) GetGitRefName() string {
- return fmt.Sprintf(git.PullPrefix+"%d/head", p.Number)
+ return fmt.Sprintf("%s%d/head", git.PullPrefix, p.Number)
}
// PullRequestBranch represents a pull request branch