aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-07-13 10:41:03 +0100
committerGitHub2017-07-13 10:41:03 +0100
commit7c26dfee555c178ede4341514368da52233db244 (patch)
tree671db7b616700a6e85c214b69aec783f318e0869 /Library
parentbff6af772f497ce52f1ff4f4d3b93c327bd7a379 (diff)
parent5709002138a1c6d6b1bf1d5ee74da21eb5aaae53 (diff)
downloadbrew-7c26dfee555c178ede4341514368da52233db244.tar.bz2
Merge pull request #2892 from MikeMcQuaid/homebrew-version-consistency
brew.sh: always use 7 chars for HOMEBREW_VERSION.
Diffstat (limited to 'Library')
-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 97c3b7f86..638e9dc19 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -1,4 +1,4 @@
-HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty 2>/dev/null)"
+HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty --abbrev=7 2>/dev/null)"
HOMEBREW_USER_AGENT_VERSION="$HOMEBREW_VERSION"
if [[ -z "$HOMEBREW_VERSION" ]]
then