diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pr/checkout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go index 231ac6452e..e9dd675d4d 100644 --- a/contrib/pr/checkout.go +++ b/contrib/pr/checkout.go @@ -215,7 +215,7 @@ func main() { //Use git cli command for windows runCmd("git", "fetch", remoteUpstream, fmt.Sprintf("pull/%s/head:%s", pr, branch)) } else { - ref := fmt.Sprintf(gitea_git.PullPrefix+"%s/head:%s", pr, branchRef) + ref := fmt.Sprintf("%s%s/head:%s", gitea_git.PullPrefix, pr, branchRef) err = repo.Fetch(&git.FetchOptions{ RemoteName: remoteUpstream, RefSpecs: []config.RefSpec{ |