From 36b7f01a8a1bf2d31f3163d64a96aa49a98d0d62 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 25 Sep 2023 12:46:54 +0100 Subject: only update git submodules in project/trees do not update them in project/repos - despite what the previous commit message says, this behaviour is error prone and should be avoided. Signed-off-by: Leah Rowe --- include/git.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/git.sh b/include/git.sh index 1ad84d11..2bf3b761 100755 --- a/include/git.sh +++ b/include/git.sh @@ -10,8 +10,6 @@ git_reset_rev() cd "${sdir}" || "${_fail}" "cannot cd to ${sdir}" git reset --hard ${_rev} || \ "${_fail}" "cannot git reset ${sdir} <- ${rev}" - git submodule update --init --checkout || \ - "${_fail}" "cannot update git modules <- ${sdir}" ) } -- cgit v1.2.1