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 gits...@pobox.com wrote: Jan Weitzel j.weit...@phytec.de writes: Hello, I have the following problem: I have 2 bare git repositories one has several branches and tags. If I

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

Re: git fetch refs and tags

2013-04-23 Thread Johan Herland
On Tue, Apr 23, 2013 at 12:53 PM, Jan Weitzel j.weit...@phytec.de 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

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 j.weit...@phytec.de 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

Re: git fetch refs and tags

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

Re: git fetch refs and tags

2013-04-23 Thread Junio C Hamano
Jan Weitzel j.weit...@phytec.de 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

Re: git fetch refs and tags

2013-04-23 Thread Johan Herland
On Tue, Apr 23, 2013 at 4:59 PM, Junio C Hamano gits...@pobox.com wrote: Jan Weitzel j.weit...@phytec.de 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