Community
Participate
Working Groups
1.2. 'Push' and 'Push to Upstream' only push the checked out branch - which is good. But, when one chooses 'Configure...' in the 'Push Results' dialog, it starts with a push spec that pushes all branches. This is quite misleading and can result in all local branches being pushed.
That's true. The description in the dialog and the behavior of the dry-run are wrong and do not match the default behavior of 'Push' and 'Push to Upstream'. I still don't see why it can result in all local branches being pushed. When you leave the Refspec field as it is 'Push' and 'Push to Upstream' will only push the checked out branch.
> I still don't see why it can result in all local branches being pushed. When > you leave the Refspec field as it is 'Push' and 'Push to Upstream' will only > push the checked out branch. Right, but if after the "normal" push in the result dialog you do 1. click 'Configure...' 2. click 'Dry-Run' ==> it says that all local branches will be pushed! But guess what? I now tried 3. click 'Save and Push' and this indeed did not push the branches unlike indicated by the dry-run.
Fix proposed: http://egit.eclipse.org/r/4625
Merged as commit a8558f4ec0b2c578b7bc0f514d9e0f8b3035724d
Verified in 1.2.0.201111201913.