mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
git: support more options for intellij.yaml
support core.fsmonitor, core.untrackedcache, feature.manyFiles for much faster git status and other operations enabled feature.manyFiles ensures that relevant future performance options will be automatically enabled as well GitOrigin-RevId: d34043e4dc0d0bbfb464870e17cce4247a5ad55a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f6bb4f4c4d
commit
c286804ff3
@@ -7,6 +7,9 @@ versionControl:
|
||||
updateMethod: rebase
|
||||
gcAuto: "50000"
|
||||
coreLongpaths: "true"
|
||||
coreFsMonitor: "true"
|
||||
coreUntrackedCache: "true"
|
||||
featureManyFiles: "true"
|
||||
|
||||
sharedIndex:
|
||||
project:
|
||||
|
||||
@@ -35,7 +35,9 @@ internal class GitSetupProjectConfig : ProjectActivity {
|
||||
|
||||
private enum class ConfigVariables(val gitName: String, val settingsGetter: (GitVcsOptions) -> String?) {
|
||||
GC_AUTO("gc.auto", { it.gcAuto }),
|
||||
CORE_LONGPATHS("core.longpaths", { if (SystemInfo.isWindows) it.coreLongpaths else null })
|
||||
CORE_FS_MONITOR("core.fsmonitor", { it.coreFsMonitor }),
|
||||
CORE_UNTRACKED_CACHE("core.untrackedcache", { it.coreUntrackedCache }),
|
||||
CORE_LONGPATHS("core.longpaths", { if (SystemInfo.isWindows) it.coreLongpaths else null }),
|
||||
FEATURE_MANY_FILES("feature.manyFiles", { it.featureManyFiles }),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,6 +29,12 @@ class GitVcsOptions : BaseState() {
|
||||
var gcAuto by string()
|
||||
@com.intellij.configurationStore.Property(description = "core.longpaths")
|
||||
var coreLongpaths by string()
|
||||
@com.intellij.configurationStore.Property(description = "core.untrackedcache")
|
||||
var coreUntrackedCache by string()
|
||||
@com.intellij.configurationStore.Property(description = "core.fsmonitor")
|
||||
var coreFsMonitor by string()
|
||||
@com.intellij.configurationStore.Property(description = "feature.manyFiles")
|
||||
var featureManyFiles by string()
|
||||
|
||||
@get:OptionTag("PUSH_AUTO_UPDATE")
|
||||
var isPushAutoUpdate by property(false)
|
||||
|
||||
Reference in New Issue
Block a user