]> gitweb.fluxo.info Git - rhatto/apps.git/commitdiff
Inception: sync submodules
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 20 Aug 2017 17:11:27 +0000 (14:11 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 20 Aug 2017 17:11:27 +0000 (14:11 -0300)
inception
metadot

index 3d536a31236b01ce52b219eb3b9daf17fce00737..2c0d2ffb37686352cad150960d9d0d3f681bf3dc 100755 (executable)
--- a/inception
+++ b/inception
@@ -22,6 +22,7 @@ function inception_init {
     cd $DIRNAME
 
     echo "Initializing submodules..."
+    $GIT submodule sync          --recursive
     $GIT submodule update --init --recursive
 
     if [ ! -e "$HOME/.dotfiles" ]; then
@@ -134,7 +135,11 @@ function inception_fetch {
 
 # Merge
 function inception_merge {
-  ( cd $DIRNAME && $GIT merge origin/master && $GIT submodule update --init --recursive )
+  (
+  cd $DIRNAME && $GIT merge origin/master                 && \\
+                 $GIT submodule sync          --recursive && \\
+                 $GIT submodule update --init --recursive
+  )
 }
 
 # Main
diff --git a/metadot b/metadot
index ad35aca0019ff3624f48f5148e2cffc2c0b58acc..b21f57a3214055c88dafc1fd9332d75bf82519bc 160000 (submodule)
--- a/metadot
+++ b/metadot
@@ -1 +1 @@
-Subproject commit ad35aca0019ff3624f48f5148e2cffc2c0b58acc
+Subproject commit b21f57a3214055c88dafc1fd9332d75bf82519bc