stable

Clone or download

Read-only

request #12267: Update of cross repository pull requests breaks diff

How to reproduce: 1. Create a repo r0 and publish some content on a 'master' branch 2. Fork the repo as r1 3. Create and publish a branch 'develop' with some content on r0 4. Create a new branch 'pr0' in r1 with some content, publish it and create a PR from r1:pr0 to r0:develop 5. Create a new branch 'develop' in r1 with some content different than r0:develop 6. Publish a new commit on r1:pr0, the diff of the PR will be done against r1:develop instead of r0:develop Change-Id: I7f076434d11090e3efd49a7a66a1ec5b32ca6593

Modified Files

Name
A plugins/pullrequest/include/PullRequest/GitExecFactory.php +32 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/PullRequestUpdater.php +14 −6 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.class.php +2 −2 Go to diff View file
M plugins/pullrequest/tests/PullRequestUpdaterTest.php +16 −15 Go to diff View file