Do not auto-fill reference in pull wizard with local branch name
commit1d7aa1e4b565d4983f33ec5b30cff23da47a8396
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 20 Oct 2016 21:30:26 +0000 (20 23:30 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 24 Oct 2016 14:22:43 +0000 (24 16:22 +0200)
tree4d6673b619547f7be21638610cf402b51136d52a
parentda3cb77edcee920c42aa9831c6ab19ff20f66af0
Do not auto-fill reference in pull wizard with local branch name

The reference field was auto-filled with the name of the currently
checked out local branch. This doesn't make sense since there is no
guarantee that a branch with the same name exists upstream. Checking if
this is the case would be too slow since it involves a remote request.
Hence leave the reference field empty, the user can use content assist
to find candidate upstream references.

Change-Id: I624cd7bd095830455910e9f212a13fb48ebea6fc
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/pull/PullWizardTest.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/pull/PullWizardPage.java