aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-24 17:25:15 +0100
committerMike McQuaid2016-09-24 17:25:15 +0100
commit22299cffabcc1d85f124a0b9a080137410525604 (patch)
tree1b50b1e1f3753fd01dcb8aeb0d4fe6d795646377 /Library
parent6eebea452517f421f180d84d41cdce808351ec44 (diff)
downloadbrew-22299cffabcc1d85f124a0b9a080137410525604.tar.bz2
update.sh: always use stable branch for tags.
This avoids creating a new branch that’ll never be deleted for each tag and differentiates between the `master` and `stable` branches.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 177958266..2e977f2a6 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -225,7 +225,7 @@ merge_or_rebase() {
if [ -n "$UPSTREAM_TAG" ]
then
REMOTE_REF="refs/tags/$UPSTREAM_TAG"
- UPSTREAM_BRANCH="v$UPSTREAM_TAG"
+ UPSTREAM_BRANCH="stable"
else
REMOTE_REF="origin/$UPSTREAM_BRANCH"
fi