Merge pull request #14862 from carlocab/fsmonitor

cmd/update.sh: limit setting `core.fsmonitor` to `false`
This commit is contained in:
Mike McQuaid 2023-03-03 09:11:51 +00:00 committed by GitHub
commit c2cf0e6f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -575,8 +575,11 @@ EOS
[[ -d "${DIR}/.git" ]] || continue [[ -d "${DIR}/.git" ]] || continue
cd "${DIR}" || continue cd "${DIR}" || continue
# Git's fsmonitor prevents the release of our locks if [[ "${DIR}" = "${HOMEBREW_REPOSITORY}" && "${HOMEBREW_REPOSITORY}" = "${HOMEBREW_PREFIX}" ]]
git config --bool core.fsmonitor false then
# Git's fsmonitor prevents the release of our locks
git config --bool core.fsmonitor false
fi
if ! git config --local --get remote.origin.url &>/dev/null if ! git config --local --get remote.origin.url &>/dev/null
then then