Re: [PATCH] Teach "git remote" a mirror mode
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 3, 2007, 11:50 UTC
- Message-ID
- <Pine.LNX.4.64.0709031249080.28586@racer.site>
- In-Reply-To
- <7vmyw4majd.fsf@gitster.siamese.dyndns.org>
Hi,
On Mon, 3 Sep 2007, Junio C Hamano wrote:
Show 10 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > When using the "--mirror" option to "git remote add", the refs will > > not be stored in the refs/remotes/ namespace, but in the same location > > as on the remote side. > > Thanks. With this and the "git remote rm" I think we would be in much > better shape. Another thing that would be needed further before we can > rewriting git-clone would be the "guessing where HEAD points at" and we > would be in a very good shape.
Okay, that should be fixable.
> I notice you did not add any tests, though...
You noticed. Darn. ;-)
I briefly considered it, but decided I did not have the energy to cut a test suite for "git remote"... Will do so today.
Ciao, Dscho