This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: git mirror at gcc.gnu.org
On 06/15/09 16:28, Rafael Espindola wrote:
>> Mine are. I ignore all heads in gcc.git, and just map its remotes into my
>> remotes by manually specifying remote.origin.fetch. Not very pretty, but it
>> seems to produce the optimal result. See my stuff in the lower section of
>> http://gcc.gnu.org/wiki/GitMirror for more details.
>
> It fails with
>
> $ git config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/origin/*'
> $ git fetch
> fatal: refs/remotes/origin/gcc-4_0-branch tracks both
> refs/remotes/gcc-4_0-branch and refs/heads/gcc-4_0-branch
Perhaps I should remove those "friendly" refs pointing at the remote
branches? Or can we find a better alternative? Their use was to make a
few frequently used branches readily visible in gitweb and with a simple
clone.
Perhaps git-svn could be configured to map svn branches directly to the
local namespace instead of remotes/ ?
--
// Bernie Innocenti - http://codewiz.org/
\X/ Sugar Labs - http://sugarlabs.org/