Merge pull request #1077 from MikeMcQuaid/no-checkout-branch-message
update.sh: don't print "checkout branch" message.
This commit is contained in:
commit
9784fa4122
@ -258,14 +258,6 @@ EOS
|
|||||||
if [[ -n "$UPSTREAM_TAG" ]] ||
|
if [[ -n "$UPSTREAM_TAG" ]] ||
|
||||||
[[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]]
|
[[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]]
|
||||||
then
|
then
|
||||||
|
|
||||||
if [[ -z "$HOMEBREW_NO_UPDATE_CLEANUP" ]]
|
|
||||||
then
|
|
||||||
echo "Checking out $UPSTREAM_BRANCH in $DIR..."
|
|
||||||
echo "To checkout $INITIAL_BRANCH in $DIR run:"
|
|
||||||
echo " 'cd $DIR && git checkout $INITIAL_BRANCH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Recreate and check out `#{upstream_branch}` if unable to fast-forward
|
# Recreate and check out `#{upstream_branch}` if unable to fast-forward
|
||||||
# it to `origin/#{@upstream_branch}`. Otherwise, just check it out.
|
# it to `origin/#{@upstream_branch}`. Otherwise, just check it out.
|
||||||
if [[ -z "$UPSTREAM_TAG" ]] &&
|
if [[ -z "$UPSTREAM_TAG" ]] &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user