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 <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-25 12:46:54 +01:00
parent 81d073d5a1
commit 36b7f01a8a
2 changed files with 7 additions and 2 deletions
-2
View File
@@ -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}"
)
}