Ensure warning is shown if blocking commit is enabled
commit1c7a8bec84d80d7abcf23f77c3cb683230857892
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 1 Apr 2019 23:14:42 +0000 (2 01:14 +0200)
committerThomas Wolf <thomas.wolf@paranor.ch>
Tue, 2 Apr 2019 13:59:21 +0000 (2 09:59 -0400)
tree73f94e5dcc0a842ddfa8f29714a6257c68317193
parentc255b6e306a06bbdfb2eae9d86f19d69c30730ca
Ensure warning is shown if blocking commit is enabled

If committing is blocked since a build error or warning is present we
should ensure that a corresponding warning is shown to ensure the user
understands why the commit button is blocked.

Change-Id: Ic0e9f75253860154cdcf24cbcbebf506e32536db
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/CommittingPreferencePage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java