Merge pull request #13586 from carlocab/git-fsmonitor

This commit is contained in:
Carlo Cabrera 2022-07-29 04:28:15 +08:00 committed by GitHub
commit 72880dea35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,6 +556,9 @@ EOS
[[ -d "${DIR}/.git" ]] || continue [[ -d "${DIR}/.git" ]] || continue
cd "${DIR}" || continue cd "${DIR}" || continue
# Git's fsmonitor prevents the release of our locks
git config --bool core.fsmonitor false
if ! git config --local --get remote.origin.url &>/dev/null if ! git config --local --get remote.origin.url &>/dev/null
then then
opoo "No remote 'origin' in ${DIR}, skipping update!" opoo "No remote 'origin' in ${DIR}, skipping update!"