aboutsummaryrefslogtreecommitdiff
path: root/infection
diff options
context:
space:
mode:
Diffstat (limited to 'infection')
-rwxr-xr-xinfection4
1 files changed, 2 insertions, 2 deletions
diff --git a/infection b/infection
index def25ca..f8795b3 100755
--- a/infection
+++ b/infection
@@ -50,7 +50,7 @@ function infection_init {
if [ "$ACTION" == "fetch" ] && [ "$ACTION" == "merge" ]; then
echo "Initializing submodules..."
$GIT submodule sync --recursive
- $GIT submodule update --init --recursive
+ $GIT submodule update --init --recursive #--recommend-shallow
fi
# Convert to new dotfiles layout
@@ -185,7 +185,7 @@ function infection_merge {
(
cd $DIRNAME && $GIT merge origin/master && \
$GIT submodule sync --recursive && \
- $GIT submodule update --init --recursive
+ $GIT submodule update --init --recursive #--recommend-shallow
)
}