From 22299cffabcc1d85f124a0b9a080137410525604 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 24 Sep 2016 17:25:15 +0100 Subject: [PATCH] update.sh: always use stable branch for tags. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids creating a new branch that’ll never be deleted for each tag and differentiates between the `master` and `stable` branches. --- Library/Homebrew/cmd/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index 177958266c..2e977f2a6e 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