Re: git push mirror mode V4 (replacement stack)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andy Whitcroft
Date: Monday, November 12, 2007 - 4:00 am

On Fri, Nov 09, 2007 at 11:30:41PM +0000, Andy Whitcroft wrote:

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.

I have had a looked about and I am actually confused as to whether we
maintain remote symbolic refs at all?  Cirtainly git-clone.sh seems to
do some hoop jumping, comparing the sha1's of all of the fetched branches
and replacing the HEAD reference with a symbolic reference should it find
a match.

I am unsure if this a huge problem or not.  Its not preventing me using
it as an effective mirror, but if we assume one is making the mirror as
a backup, then there would be slightly more than an rsync to convert the
the repo back into your original, though I guess there already is as you
would want to insert your config into the remote also.

Perhaps someone with a better understanding could point me to where we
we maintain these refs, if we indeed do?

-apw
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git push mirror mode V4 (replacement stack), Andy Whitcroft, (Fri Nov 9, 4:30 pm)
Re: git push mirror mode V4 (replacement stack), Andy Whitcroft, (Mon Nov 12, 4:00 am)
Re: git push mirror mode V4 (replacement stack), Junio C Hamano, (Mon Nov 12, 2:35 pm)