]> gitweb.fluxo.info Git - inception.git/commitdiff
Tried --recommend-shallow at git submodule update
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 22 May 2018 18:01:04 +0000 (15:01 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 22 May 2018 18:01:04 +0000 (15:01 -0300)
infection

index def25ca69e55e628f0276e6476ad2e40993337eb..f8795b3ce50bf1304cfd1d729b40c02379ea930d 100755 (executable)
--- 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
   )
 }