Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2018-06-11 06:42:11 -0400
committerMatthias Sohn2018-06-11 07:14:21 -0400
commita14bc0d9bd7475a2711cddeb6d4016efdfb9e9ae (patch)
treea957ae0adb1ca2293bfd0d871c738ba57aa8c409 /org.eclipse.egit.ui/src/org
parent99005183ea0468e3ad8a7824f96c45035f9133aa (diff)
downloadegit-a14bc0d9bd7475a2711cddeb6d4016efdfb9e9ae.tar.gz
egit-a14bc0d9bd7475a2711cddeb6d4016efdfb9e9ae.tar.xz
egit-a14bc0d9bd7475a2711cddeb6d4016efdfb9e9ae.zip
Revert "Update staging view on repository config changes"
This reverts commit 40cc626957292a0dbd058f6f399eac6a7cd52773. Bug: 533019 Bug: 535744 Change-Id: I8f6632fcb09ae65daf2d5d15af99417ec397b421 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui/src/org')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
index 87b6f7cb7..ae4f61d68 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
@@ -744,8 +744,6 @@ public class StagingView extends ViewPart
private ListenerHandle refsChangedListener;
- private ListenerHandle configChangedListener;
-
private LocalResourceManager resources = new LocalResourceManager(
JFaceResources.getResources());
@@ -3713,13 +3711,6 @@ public class StagingView extends ViewPart
.addRefsChangedListener(
event -> updateRebaseButtonVisibility(repository
.getRepositoryState().isRebasing()));
- if (configChangedListener != null) {
- configChangedListener.remove();
- }
- configChangedListener = repository.getListenerList()
- .addConfigChangedListener(
- event -> asyncExec(
- () -> resetCommitMessageComponent()));
}
final StagingViewUpdate update = new StagingViewUpdate(repository,
indexDiff, null);
@@ -4260,9 +4251,6 @@ public class StagingView extends ViewPart
if (refsChangedListener != null) {
refsChangedListener.remove();
}
- if (configChangedListener != null) {
- configChangedListener.remove();
- }
if (switchRepositoriesAction != null) {
switchRepositoriesAction.dispose();

Back to the top