aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmetadot6
1 files changed, 5 insertions, 1 deletions
diff --git a/metadot b/metadot
index b74e1a6..3c4f111 100755
--- a/metadot
+++ b/metadot
@@ -159,7 +159,11 @@ function metadot_fetch {
# Merge
function metadot_merge {
if [ -d "$DOT/.git" ]; then
- ( cd $DOT && $GIT merge origin/master && $GIT submodule update --init --recursive )
+ (
+ cd $DOT && $GIT merge origin/master && \\
+ $GIT submodule sync --recursive && \\
+ $GIT submodule update --init --recursive
+ )
fi
}