mirror of
https://github.com/go-gitea/gitea
synced 2025-07-07 02:57:20 +00:00
#1597 support pull requests in same repository
This commit is contained in:
@ -487,7 +487,7 @@ func (pr *PullRequest) UpdatePatch() (err error) {
|
||||
// FIXME: could fail after user force push head repo, should we always force push here?
|
||||
// FIXME: Only push branches that are actually updates?
|
||||
func (pr *PullRequest) PushToBaseRepo() (err error) {
|
||||
log.Trace("PushToBaseRepo[%[1]d]: pushing commits to base repo 'refs/pull/%[1]d/head'", pr.ID)
|
||||
log.Trace("PushToBaseRepo[%d]: pushing commits to base repo 'refs/pull/%d/head'", pr.BaseRepoID, pr.Index)
|
||||
|
||||
headRepoPath := pr.HeadRepo.RepoPath()
|
||||
headGitRepo, err := git.OpenRepository(headRepoPath)
|
||||
|
Reference in New Issue
Block a user