Re: git fetch refs and tags

2013-04-24 Thread Jan Weitzel
Am Dienstag, den 23.04.2013, 22:50 +0200 schrieb Johan Herland: > On Tue, Apr 23, 2013 at 4:59 PM, Junio C Hamano wrote: > > Jan Weitzel writes: > > > >> Hello, > >> I have the following problem: I have 2 bare git repositories one has > >> several branches and tags. > >> If I try this in the seco

Re: git fetch refs and tags

2013-04-23 Thread Johan Herland
On Tue, Apr 23, 2013 at 4:59 PM, Junio C Hamano wrote: > Jan Weitzel writes: > >> Hello, >> I have the following problem: I have 2 bare git repositories one has >> several branches and tags. >> If I try this in the second repository: >> git fetch -f ../main.git refs/heads/master:refs/heads/master

Re: git fetch refs and tags

2013-04-23 Thread Junio C Hamano
Jan Weitzel writes: > Hello, > I have the following problem: I have 2 bare git repositories one has > several branches and tags. > If I try this in the second repository: > git fetch -f ../main.git refs/heads/master:refs/heads/master > I'm getting also tags from other branches, if I have an old

Re: git fetch refs and tags

2013-04-23 Thread Johan Herland
On Tue, Apr 23, 2013 at 1:45 PM, Jan Weitzel wrote: > Am Dienstag, den 23.04.2013, 13:25 +0200 schrieb Johan Herland: >> On Tue, Apr 23, 2013 at 12:53 PM, Jan Weitzel wrote: >> > Hello, >> > I have the following problem: I have 2 bare git repositories one has >> > several branches and tags. >> >

Re: git fetch refs and tags

2013-04-23 Thread Jan Weitzel
Am Dienstag, den 23.04.2013, 13:25 +0200 schrieb Johan Herland: > On Tue, Apr 23, 2013 at 12:53 PM, Jan Weitzel wrote: > > Hello, > > I have the following problem: I have 2 bare git repositories one has > > several branches and tags. > > If I try this in the second repository: > > git fetch -f ../

Re: git fetch refs and tags

2013-04-23 Thread Johan Herland
On Tue, Apr 23, 2013 at 12:53 PM, Jan Weitzel wrote: > Hello, > I have the following problem: I have 2 bare git repositories one has > several branches and tags. > If I try this in the second repository: > git fetch -f ../main.git refs/heads/master:refs/heads/master > I'm getting also tags from ot

git fetch refs and tags

2013-04-23 Thread Jan Weitzel
Hello, I have the following problem: I have 2 bare git repositories one has several branches and tags. If I try this in the second repository: git fetch -f ../main.git refs/heads/master:refs/heads/master I'm getting also tags from other branches, if I have an old object from one of the other branc