Be able to switch branch from the Sync dialog
I find the Sync dialog very useful. I use it most frequently for pushing and pulling changes. I don't realise I'm on the incorrect branch, so I have to close the dialog and switch branch using the `Switch/Checkout' dialog then open the Sync dialog again. I think what would make it even more useful if the user can quickly switch branch from this dialog.
There is already a 'Local Branch' drop-down menu, but if I change it's value and then click Pull
I get the error Pull requires the selected local branch to be the current branch.
Why not ask the user if they want to the switch branch instead? Alternatively, why not change the Pull
button to Switch and Pull
if the selected branch isn't the current branch? In this state, the button would switch to the selected branch, and if it succeeds without error, then performs a pull.
I'm open to other options as long as if I want to pull from a different branch I can easily switch branch without have to open a different dialog.