Do shallow copies.

This commit is contained in:
David Tomaschik
2019-04-17 10:28:31 -07:00
parent cb01867ba6
commit 3e87044901
2 changed files with 9 additions and 1 deletions

8
.gitmodules vendored
View File

@@ -1,21 +1,29 @@
[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

@@ -312,7 +312,7 @@ install_dotfiles() {
}
install_main() {
git -C ${BASEDIR} submodule update --init --recursive
git -C ${BASEDIR} submodule update --init --recursive --depth 1
test $MINIMAL = 1 || prerequisites
test $INSTALL_PKGS = 1 && is_deb_system && install_apt_pkgs
install_dotfiles