mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[git] IJPL-84816 Delete git.clone.shallow registry key
(cherry picked from commit 256392f36282aca50551dc92614b554c8f52f98b) IJ-CR-147381 GitOrigin-RevId: 6572d5656d8682e426d58c70b7f998085c3a9c30
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0d52f67739
commit
83fc84993c
@@ -626,8 +626,6 @@
|
||||
description="Enable embedded pinentry application for unlock GPG private key while Git perform commit signing. For remote dev (unix backend) and WSL."/>
|
||||
<registryKey key="git.read.branches.from.disk" defaultValue="false"
|
||||
description="When enabled, read the '.git/refs' directory contents. When disabled, delegate to 'git branch' call."/>
|
||||
<registryKey key="git.clone.shallow" defaultValue="false"
|
||||
description="When enabled, allows shallow cloning of the git repository"/>
|
||||
|
||||
<search.projectOptionsTopHitProvider implementation="git4idea.config.GitOptionsTopHitProvider"/>
|
||||
<vcs name="Git" vcsClass="git4idea.GitVcs" displayName="Git" administrativeAreaName=".git"/>
|
||||
|
||||
@@ -161,9 +161,7 @@ private class GitCloneDialogMainPanelCustomizer : DvcsCloneDialogComponent.MainP
|
||||
private val vm = GitShallowCloneViewModel()
|
||||
|
||||
override fun configure(panel: Panel) {
|
||||
if (Registry.`is`("git.clone.shallow")) {
|
||||
GitShallowCloneComponentFactory.appendShallowCloneRow(panel, vm).bottomGap(BottomGap.SMALL)
|
||||
}
|
||||
GitShallowCloneComponentFactory.appendShallowCloneRow(panel, vm).bottomGap(BottomGap.SMALL)
|
||||
}
|
||||
|
||||
fun getShallowCloneOptions() = vm.getShallowCloneOptions()
|
||||
|
||||
@@ -174,9 +174,7 @@ internal abstract class GHCloneDialogExtensionComponentBase(
|
||||
CloneDvcsValidationUtils.checkDirectory(it.text, it.textField)
|
||||
}
|
||||
}
|
||||
if (Registry.`is`("git.clone.shallow")) {
|
||||
GitShallowCloneComponentFactory.appendShallowCloneRow(this, shallowCloneModel)
|
||||
}
|
||||
GitShallowCloneComponentFactory.appendShallowCloneRow(this, shallowCloneModel)
|
||||
}
|
||||
repositoriesPanel.border = JBEmptyBorder(UIUtil.getRegularPanelInsets())
|
||||
setupAccountsListeners()
|
||||
|
||||
@@ -95,9 +95,7 @@ internal object GitLabCloneRepositoriesComponentFactory {
|
||||
CloneDvcsValidationUtils.checkDirectory(it.text, it.textField as JComponent)
|
||||
}
|
||||
}
|
||||
if (Registry.`is`("git.clone.shallow")) {
|
||||
GitShallowCloneComponentFactory.appendShallowCloneRow(this, repositoriesVm.shallowCloneVm)
|
||||
}
|
||||
GitShallowCloneComponentFactory.appendShallowCloneRow(this, repositoriesVm.shallowCloneVm)
|
||||
}.apply {
|
||||
border = JBEmptyBorder(UIUtil.getRegularPanelInsets())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user