Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

Do not pull from master when updating #4

Closed
jaimeMF opened this issue Apr 5, 2013 · 2 comments
Closed

Do not pull from master when updating #4

jaimeMF opened this issue Apr 5, 2013 · 2 comments
Assignees
Labels

Comments

@jaimeMF
Copy link
Contributor

jaimeMF commented Apr 5, 2013

If linuxbrew is going to be the main branch, when calling brew upgrade it should checkout linuxbrew and the pull from refs/remotes/origin/linuxbrew. Otherwise it merges the changes from the master branch.

@sjackman
Copy link
Member

sjackman commented Apr 5, 2013

As a quick hack, the following will work:
sed -i 's/\bhomebrew\b/linuxbrew/g;s/\bmxcl\b/homebrew/g;s/\borigin\b/linuxbrew/g;s/\bmaster\b/linuxbrew/g' Library/Homebrew/cmd/update.rb

Unfortunately, it breaks taps, which still need to pull the branch master rather than linuxbrew.

@jaimeMF
Copy link
Contributor Author

jaimeMF commented Apr 5, 2013

Thanks

@sjackman sjackman closed this as completed Apr 9, 2013
sjackman added a commit that referenced this issue Apr 17, 2013
Taps still pull from the branch master.
Closes #4
sjackman added a commit that referenced this issue Jun 6, 2013
Taps still pull from the branch master.
Closes #4
sjackman added a commit that referenced this issue Jun 26, 2013
Taps still pull from the branch master.
Closes #4
sjackman added a commit that referenced this issue Jun 27, 2013
Taps still pull from the branch master.
Closes #4
sjackman added a commit that referenced this issue Aug 29, 2013
Taps still pull from the branch master.
Closes #4
@sjackman sjackman self-assigned this Jun 11, 2014
sjackman added a commit to Linuxbrew/brew that referenced this issue Apr 23, 2016
Taps still pull from the branch master.
Closes Linuxbrew/legacy-linuxbrew#4
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants