> I am trying to create an ebuild that fetches a specific head from a Git > repo. As you can see here: > > http://lmms.git.sourceforge.net/git/gitweb.cgi?p=lmms/lmms;a=summary > > There are several "heads" listed: master, stable-0.4, calf-updates, etc. > By default, the git eclass uses "master". I tried putting: > > EGIT_BRANCH="stable-0.4" > > in the ebuild. But this doesn't seem to help; "master" is emerged > instead of "stable-0.4". > > What am I doing wrong? Hi Nikos! I didn't dig seriously in eclass, but EGIT_TREE and _BRANCH both helped me. EGIT_REPO_URI="git://repo.or.cz/tinycc.git" EGIT_TREE="mob" EGIT_BRANCH="mob" Whole thing is here: http://repo.or.cz/w/slyfox-gentoo.git/blob_plain/aaa609469a6f819b8823ad45dc424eb18d24078c:/dev-lang/tcc/tcc-9999.ebuild -- Sergei