Prefer to change to existing local branch when fetching Gerrit change
commit4c6fe7070d5802a7c189a360d0cfbaeb565e20b1
authorJaxsun McCarthy Huggan <jaxsun.mccarthy@tasktop.com>
Sun, 18 Dec 2016 07:55:11 +0000 (17 23:55 -0800)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 5 Mar 2017 22:43:22 +0000 (5 23:43 +0100)
treeb0bcdc2219bbe3321092174d9f73e3ce8246329a
parent4bc15e7f9023024b9e1c803d185ed16730218931
Prefer to change to existing local branch when fetching Gerrit change

When attempting to fetch a Gerrit patch set which the user has already
fetched they are now presented with an option to change to the already
fetched branch. This is the default option if a local branch exists. If
no local branch exists for a ref this option is not available.

Bug: 509181
Change-Id: I81af2906fe44dacb35ca9c23e4cd2583750f3b8a
Signed-off-by: Jaxsun McCarthy Huggan <jaxsun.mccarthy@tasktop.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchGerritChangePage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties