Don't suggest branch name for push from remote tracking branch
commit03dd63ebc12f7e1ca00a326d8c3c88b9c812a43d
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 15 Apr 2015 22:42:12 +0000 (16 00:42 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 8 Jun 2015 00:01:08 +0000 (8 02:01 +0200)
treef235e076f144858446c8f5446dcbc1e4cca8dacb
parent23fae38a02b7c6796842c27feb934a9c572144fd
Don't suggest branch name for push from remote tracking branch

The "Push Branch..." wizard suggested a wrong target branch name
prefixed with the remote's name if the selected source branch was a
remote tracking branch. Pushing from a remote tracking branch to the
remote branch it's tracking is pointless. So there's no natural
candidate for the target branch. Hence do not suggest any target branch
if pushing a remote tracking branch.

Also improve texts in PushBranchPage to make them easier to understand.

Bug: 464723
Change-Id: I3aed8c30675f1f75efb700fcf568ef91c877d0b5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchPage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties