You are not logged in.

#1 2013-08-01 23:48:16

sputnik
Member
Registered: 2012-12-02
Posts: 18

metro has a problem with origin/master?

Hi all.  I've been searching everywhere all day, I just don't get it, or understand why no one else has this problem.
I've been following the Metro Quick Start on the wiki.  In there it says "There is a quick step you can perform to avoid having Metro re-clone the entire Portage tree..." and it tells you to "git checkout origin/master".  I think I understand what origin/master is, but git complains that it doesn't.  In /usr/portage/.git only origin/funtoo.org is referenced.  git branch -a gives

* funtoo.org
  remotes/origin/HEAD -> origin/funtoo.org
  remotes/origin/funtoo.org

So I tried to ignore that, thinking this was something out of date but when I finally run ezbuild I get this:

<snip>
run_script: running steps/run...
Already on 'funtoo.org'
Performing git pull...
remote: Counting objects: 2411, done.        
remote: Compressing objects: 100% (83/83), done.        
remote: Total 1246 (delta 1157), reused 1246 (delta 1157)        
Receiving objects: 100% (1246/1246), 189.67 KiB | 108.00 KiB/s, done.
Resolving deltas: 100% (1157/1157), completed with 1135 local objects.
From git://github.com/funtoo/ports-2012
   decbdc8..83c491e  funtoo.org -> origin/funtoo.org
Checking out files: 100% (1105/1105), done.
error: pathspec 'origin/master' did not match any file(s) known to git.
couldn't check out branch origin/master for tarball

Approximately the same error I get when attempting the "git checkout origin/master" command.
I know I must be missing something obvious, like some other git branch command is needed?  Can anyone point me in the right direction?  Thanks

Offline

#2 2013-08-02 00:10:51

sputnik
Member
Registered: 2012-12-02
Posts: 18

Re: metro has a problem with origin/master?

OK, I think I got it, had to refresh Git learning wink
I believe that the directions are telling us to CREATE origin/master branch that metro will use.  If so, it seems it needs -b like this: git checkout -b origin/master.
I'm going with that for now, please correct me if I'm wrong.
I apologize for the disturbance in the Force, should have given it a few more minutes.

Offline

Board footer

Powered by FluxBB