From 06de6bcc27166696bbd5aea2c3e6c3af64889425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Thu, 29 Oct 2020 00:18:57 +0100 Subject: [PATCH] commit .gitmodules after automatic update --- bin/git-myshellconfig-checkout | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/git-myshellconfig-checkout b/bin/git-myshellconfig-checkout index 0445a92..a6e31e3 100755 --- a/bin/git-myshellconfig-checkout +++ b/bin/git-myshellconfig-checkout @@ -108,6 +108,7 @@ logdebug "update submodules" # logdebug "$($SGIT submodule sync)" || { logwarn "sync submodules failed on sync"; rc=6; } logdebug "$($SGIT submodule update --remote)" logdebug "$($SGIT submodule update --init --recursive)" + logdebug "$($SGIT commit .gitmodules -m 'update submodules')" #$SGIT submodule update --init --remote --merge 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn " update submodules failed on update"; rc=9; } #$SGIT checkout .gitmodules logdebug "submodules updated successfully"