diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index d557ad2f3..111644907 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -390,6 +390,22 @@ EOS fi fi + if [[ -f "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-core/.git/shallow" && + -f "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-cask/.git/shallow" ]] + then + odie <