-
Bug
-
Resolution: Fixed
-
Medium
-
9.6.0, 8.9.26, 8.19.16, 9.4.4, 9.5.2
-
1
-
Severity 3 - Minor
-
Issue Summary
When running git 2.48, merging a pull request from a branch in a fork to the upstream branch changes the default branch in both the fork and the upstream.
Steps to Reproduce
- Fork repository R to create a personal repository R1.
- R1 contains two branches: R1/A (default) and R1/B, mirroring the original repository.
- Implement changes in the R1/B branch.
- Create a pull request to merge changes from R1/B into R/B.
- Merge the pull request.
Expected Results
The default branch is not changed on either repo
Actual Results
After merging, both R and R1 have branch B set as the default branch.
Workaround
Downgrade to another supported git version other than 2.48.x