From b073e7d61ccb101062f69f90fcbb8294096929d0 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 18 Apr 2019 19:28:02 -0700 Subject: [PATCH] Not so shallow checkouts. --- .gitmodules | 7 ------- install.sh | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.gitmodules b/.gitmodules index f4ecf6d..8ed7c6f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/install.sh b/install.sh index fa3ccc3..461cf12 100755 --- a/install.sh +++ b/install.sh @@ -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