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 ]] if [[ -n $SHALLOW_CORE || -n $SHALLOW_CASK ]]
then then
odie <<EOS odie <<EOS
${SHALLOW_CORE:+homebrew-core is a shallow clone.} ${SHALLOW_CORE:+
${SHALLOW_CASK:+homebrew-cask is a shallow clone.} homebrew-core is a shallow clone.}${SHALLOW_CASK:+
To \`brew update\`, first run: homebrew-cask is a shallow clone.}
${SHALLOW_CORE:+git -C "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-core" fetch --unshallow} To \`brew update\`, first run:${SHALLOW_CORE:+
${SHALLOW_CASK:+git -C "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-cask" fetch --unshallow} 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 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 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 Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you