Set repository when opening staging view from commit action
commit9e4458cd2bbca433537730bc5038f27e5ebd4043
authorThomas Wolf <thomas.wolf@paranor.ch>
Mon, 2 May 2016 19:39:02 +0000 (2 21:39 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 9 May 2016 21:32:39 +0000 (9 23:32 +0200)
tree67cac03dcddd577579625b24b14a239f8e439580
parentf375d774843e5118a79a8d7925411bbfaa7f192c
Set repository when opening staging view from commit action

Otherwise the view will come up with "No repository selected" when "link
with selection" is disabled.

Bug: 491907
Change-Id: Ia4c2db8201c7f2c038fb873ca78366d7d1feb67f
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/CommitActionStagingViewTest.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitActionHandler.java