diff options
| author | Mike McQuaid | 2017-09-22 15:50:09 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-09-22 15:50:09 +0100 |
| commit | df7fb212c264e0ebe92b1e312f783d20e3e6fbe3 (patch) | |
| tree | 06411193a00b22a8c81eaad7e3531e8122a27346 | |
| parent | 064c52efc4bd4c8520b27a6415c138e97bdf4e2e (diff) | |
| download | brew-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.sh | 2 |
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 |
