summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-25 12:46:54 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-25 12:46:54 +0100
commit36b7f01a8a1bf2d31f3163d64a96aa49a98d0d62 (patch)
tree3e4f1e425400df09028e2e980cdb202c077c5063 /include/git.sh
parent81d073d5a193f2a07ca8efbb1a337a69c1c6d778 (diff)
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>
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh2
1 files changed, 0 insertions, 2 deletions
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}"
)
}