Merge pull request #14862 from carlocab/fsmonitor
cmd/update.sh: limit setting `core.fsmonitor` to `false`
This commit is contained in:
commit
c2cf0e6f65
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user