Merge pull request #1982 from stefand/main

Don't fetch a submodule if the commit is already known
This commit is contained in:
Bill Hollings 2023-07-31 11:40:26 -04:00 committed by GitHub
commit 7cb6096321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,7 +232,7 @@ function update_repo() {
if [ -d $1 -a -d $1/.git ]; then
cd $1
git fetch --all
git cat-file -e $3 || git fetch --all
git checkout --force $3
cd - > /dev/null
else