Pull dialog always defaults to the wrong branch in submodules
What steps will reproduce the problem?
- Use a main repository and several submodules linked within. Maybe you need several branches each.
- Change your Branches to a "personal" or release branch (other than master)
- Open the pull-dialog
What is the expected output? What do you see instead?
Expected: The field "Remote Branch" shows the remote upstream-branch of the current local branch. Click "Ok" will pull the personal/release branch.
Instead: The field "Remote Branch" shows the remote master-branch. The master-branch will be pulled into the personal/release branch!
Depending on the submodule, also a "." instead of "master" appears to be the default remote-branch. At least, you can not actually pull that branch, as it does not exist.
What version of TortoiseGit and Git are you using? On what operating system?
With Version 1.12.0 everything works great. With prerlease-version 1.12.3 and verison 1.13.0 the issue appears.
We are using Windows 10 and git version 2.24.0.windows.2.
Pure Git Bash works as expected.
Please provide any additional information below.
This happens on every developer-machine we are using. We've also checked upstream-branch and GIT-config several times. Right now we've downgraded to version 1.12.0.