From eef5c2c55e7a6a49481cac0e5abed42550dc2994 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 30 Oct 2020 20:53:03 +0000 Subject: [PATCH] update: update submodules too Signed-off-by: Alejandro Mery --- update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.sh b/update.sh index 61adabf..4708b0e 100755 --- a/update.sh +++ b/update.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -ux + cd "$(dirname "$0")" branch="$(git branch | sed -n 's/^* \(.*\)$/\1/p;')" @@ -25,6 +27,7 @@ else fi git rebase "$remote/$rbranch" +git submodule update --init if $stashed; then git stash pop -q