Ensure "Push HEAD..." action is enabled also when HEAD is detached
commit220225fe8d9195e3c686d290cc96d230e2005fde
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 4 Feb 2016 22:32:45 +0000 (4 23:32 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Sat, 13 Feb 2016 13:46:56 +0000 (13 08:46 -0500)
tree69f3056eb12c97b07d6f33f42c2154d58398f9c4
parentc6a421bcccd8b07382af86e00781f03e2118c00b
Ensure "Push HEAD..." action is enabled also when HEAD is detached

Fixing a regression introduced by https://git.eclipse.org/r/#/c/63972/
Push should be enabled if HEAD directly or indirectly refers to a
commit.

Bug: 487078
Change-Id: I13a28252472957ac172fa91fe89406e736f6a34a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/internal/push/PushBranchWizardTest.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/internal/push/PushBranchWizardTester.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewFetchAndPushTest.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/PushBranchActionHandler.java