Update staging view on repository config changes
commit40cc626957292a0dbd058f6f399eac6a7cd52773
authorMichael Keppler <Michael.Keppler@gmx.de>
Fri, 30 Mar 2018 09:49:19 +0000 (30 11:49 +0200)
committerMichael Keppler <Michael.Keppler@gmx.de>
Fri, 30 Mar 2018 09:50:10 +0000 (30 11:50 +0200)
treeae8ae07b37ca912fedb55284e40104e5d3abf2fd
parentaab7bb39d5351fc1f59853005734d5a5523ce37e
Update staging view on repository config changes

Reinitialize the staging view after config changes. The listener
handling is basically a copy of the already existing
refsChangedListener.

With the new listener, the author and committer fields are updated
whenever the config is modified either by text editing or by using the
preference page.

Change-Id: I05dfc104c491c4eb8c2d2033cd9a1dee96e78d61
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Bug:533019
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java