Better newlines

This commit is contained in:
J Rob Gant 2020-12-11 12:43:23 -05:00
parent 290179091a
commit e0c1f9d9d1
No known key found for this signature in database
GPG Key ID: 72A92177D88C3014

View File

@ -396,11 +396,12 @@ EOS
if [[ -n $SHALLOW_CORE || -n $SHALLOW_CASK ]]
then
odie <<EOS
${SHALLOW_CORE:+homebrew-core is a shallow clone.}
${SHALLOW_CASK:+homebrew-cask is a shallow clone.}
To \`brew update\`, first run:
${SHALLOW_CORE:+git -C "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-core" fetch --unshallow}
${SHALLOW_CASK:+git -C "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-cask" fetch --unshallow}
${SHALLOW_CORE:+
homebrew-core is a shallow clone.}${SHALLOW_CASK:+
homebrew-cask is a shallow clone.}
To \`brew update\`, first run:${SHALLOW_CORE:+
git -C "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-core" fetch --unshallow}${SHALLOW_CASK:+
git -C "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-cask" fetch --unshallow}
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you