Don't use virtual memory mapping in WindowCache on Windows
commitce15a86bc6934d509f20385740a955b231a5c794
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 5 Oct 2018 09:19:01 +0000 (5 11:19 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 7 Oct 2018 07:40:01 +0000 (7 09:40 +0200)
tree338fe78d1660b092503f6b2b752151499c5c5955
parent14d9be73ec947121eb3fd4fb42a1a3fe65c3f44f
Don't use virtual memory mapping in WindowCache on Windows

Using virtual memory mapping has issues on Windows, especially it
prevents moving or deleting mmap'ed packfiles. Hence disable it on
Windows and hide the preference setting.

Bug: 539789
Change-Id: Id417dc0b6433218de245055b136ae2112ca6e041
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.core/src/org/eclipse/egit/core/GitCorePreferenceInitializer.java
org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/WindowCachePreferencePage.java