aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-22 15:01:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-22 15:01:04 -0300
commitfbb5c083a30fdb4f83dd257787da52a03e1e0222 (patch)
tree0f86062e4c340d29c97b477ec026f12ef88e74f4
parent2c731c0434583dc43e02b7c9db216e2e9e09fd7c (diff)
downloadinception-fbb5c083a30fdb4f83dd257787da52a03e1e0222.tar.gz
inception-fbb5c083a30fdb4f83dd257787da52a03e1e0222.tar.bz2
Tried --recommend-shallow at git submodule update
-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
)
}