Not so shallow checkouts.

This commit is contained in:
David Tomaschik
2019-04-18 19:28:02 -07:00
parent 781142e8f2
commit b073e7d61c
2 changed files with 1 additions and 8 deletions

7
.gitmodules vendored
View File

@@ -1,29 +1,22 @@
[submodule "dotfiles/vim/pack/matir/opt/solarized8"]
path = dotfiles/vim/pack/matir/opt/solarized8
url = https://github.com/lifepillar/vim-solarized8.git
shallow = true
[submodule "dotfiles/vim/pack/matir/start/surround"]
path = dotfiles/vim/pack/matir/start/surround
url = https://github.com/tpope/vim-surround.git
shallow = true
[submodule "dotfiles/vim/pack/matir/start/editorconfig"]
path = dotfiles/vim/pack/matir/start/editorconfig
url = https://github.com/editorconfig/editorconfig-vim.git
shallow = true
[submodule "dotfiles/vim/pack/matir/start/fugitive"]
path = dotfiles/vim/pack/matir/start/fugitive
url = https://github.com/tpope/vim-fugitive
shallow = true
[submodule "dotfiles/vim/pack/matir/start/ctrlp"]
path = dotfiles/vim/pack/matir/start/ctrlp
url = https://github.com/ctrlpvim/ctrlp.vim.git
shallow = true
[submodule "dotfiles/vim/pack/matir/start/vim-go"]
path = dotfiles/vim/pack/matir/start/vim-go
url = https://github.com/fatih/vim-go.git
shallow = true
[submodule "dotfiles/zprezto"]
path = dotfiles/zprezto
url = https://github.com/sorin-ionescu/prezto.git
fetchRecurseSubmodules = true
shallow = true

View File

@@ -313,7 +313,7 @@ install_dotfiles() {
install_main() {
test $MINIMAL = 1 || command -v git >/dev/null 2>&1 && \
git -C ${BASEDIR} submodule update --init --recursive --depth 1
git -C ${BASEDIR} submodule update --init --recursive --depth 25
test $MINIMAL = 1 || prerequisites
test $INSTALL_PKGS = 1 && is_deb_system && install_apt_pkgs
install_dotfiles