aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-09-22 15:50:09 +0100
committerMike McQuaid2017-09-22 15:50:09 +0100
commitdf7fb212c264e0ebe92b1e312f783d20e3e6fbe3 (patch)
tree06411193a00b22a8c81eaad7e3531e8122a27346
parent064c52efc4bd4c8520b27a6415c138e97bdf4e2e (diff)
downloadbrew-df7fb212c264e0ebe92b1e312f783d20e3e6fbe3.tar.bz2
brew.sh: update no git repository message.
Clarify that this message doesn’t only trigger when there’s no Git repository but also when there’s no tags that `git describe` can use.
-rw-r--r--Library/Homebrew/brew.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index 66908925c..b2859c927 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -23,7 +23,7 @@ HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty --abbr
HOMEBREW_USER_AGENT_VERSION="$HOMEBREW_VERSION"
if [[ -z "$HOMEBREW_VERSION" ]]
then
- HOMEBREW_VERSION=">1.2.0 (no git repository)"
+ HOMEBREW_VERSION=">1.2.0 (shallow or no git repository)"
HOMEBREW_USER_AGENT_VERSION="1.X.Y"
fi