Merge pull request #3188 from MikeMcQuaid/git-describe-tags-message

brew.sh: update no git repository message.
This commit is contained in:
Mike McQuaid 2017-09-23 10:57:48 +01:00 committed by GitHub
commit 478dc7cd31

View File

@ -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