From: Junio C Hamano <gitster@pobox.com>
To: Andy Whitcroft <apw@shadowen.org>
Cc: git@vger.kernel.org, Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: git push mirror mode V4 (replacement stack)
Date: Mon, 12 Nov 2007 13:35:42 -0800 [thread overview]
Message-ID: <7vd4uf2lld.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20071112110016.GG301@shadowen.org> (Andy Whitcroft's message of "Mon, 12 Nov 2007 11:00:16 +0000")
Andy Whitcroft <apw@shadowen.org> writes:
> On Fri, Nov 09, 2007 at 11:30:41PM +0000, Andy Whitcroft wrote:
>> Following this mail is a complete replacement git push mirror mode
>> stack (V4). It folds down all the various patches into a logical
>> sequence (thanks Dscho). This stack passes the entire test suite,
>> and I have been using the same code for real work here.
>
> Ok, I have spotted one oddity with this feature. The symbolic refs are
> getting converted to real refs in the mirror. Generally speaking this
> is the <remote>/HEAD refs but I guess it may be possible to have others.
Currently there is no way to remotely create a symref.
It should be easy to make DAV based http push create a symref
file.
The native "send-pack" protocol does not support such feature,
so this needs a protocol extension, which hopefully would be
not too involved.
Also, to be symmetric, we would need a protocol extension on the
"fetch-pack" protocol side to allow fetchers to find out which
one is a symref pointing out what other ref. The lack of the
information is why git-clone has to guess.
prev parent reply other threads:[~2007-11-12 21:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-09 23:30 git push mirror mode V4 (replacement stack) Andy Whitcroft
2007-11-09 23:32 ` [PATCH 1/4] Teach send-pack a mirror mode Andy Whitcroft
2007-11-09 23:32 ` [PATCH 2/4] git-push: plumb in --mirror mode Andy Whitcroft
2007-11-09 23:32 ` [PATCH 3/4] Add tests for git push'es mirror mode Andy Whitcroft
2007-11-09 23:32 ` [PATCH 4/4] git-push: add documentation for the newly added --mirror mode Andy Whitcroft
2007-11-12 11:00 ` git push mirror mode V4 (replacement stack) Andy Whitcroft
2007-11-12 21:35 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vd4uf2lld.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=apw@shadowen.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.