diff options
Diffstat (limited to 'models/pull.go')
-rw-r--r-- | models/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pull.go b/models/pull.go index d6df00dc7f..1dde7608f6 100644 --- a/models/pull.go +++ b/models/pull.go @@ -354,7 +354,7 @@ func (pr *PullRequest) testPatch() (err error) { log.Trace("PullRequest[%d].testPatch (patchPath): %s", pr.ID, patchPath) - if err := pr.BaseRepo.UpdateLocalCopy(); err != nil { + if err := pr.BaseRepo.UpdateLocalCopy(pr.BaseRepo.DefaultBranch); err != nil { return fmt.Errorf("UpdateLocalCopy: %v", err) } |