Staging view: minor optimization building folder hierarchies
commit279691fcca8e4d33298a39a7f57e24165fd26eff
authorThomas Wolf <thomas.wolf@paranor.ch>
Fri, 26 Mar 2021 07:30:09 +0000 (26 08:30 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Fri, 26 Mar 2021 07:30:09 +0000 (26 08:30 +0100)
tree473846b151bf919a403e750d56be89357f4890a1
parent0e9c9c295b7cc7f38a04b3602be9516b1266ee09
Staging view: minor optimization building folder hierarchies

In two places, shortcut recording parent folders if a folder has
already been recorded: if so, the parents of the already-recorded
folder are also already recorded.

Change-Id: I4fe676ea6defce104695e13297fa715cc976078d
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingViewContentProvider.java