Re: Is anyone working on a next-gen Git protocol?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 10, 2012, 20:46 UTC
- Message-ID
- <7vlifeawd5.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <035A66D9-FAF0-48EE-B161-7D0CAD92F2FB@zib.de>
Steffen Prohaska <prohaska@zib.de> writes:
Show 5 quoted lines
> I've recently discovered that the current protocol can be amazingly > inefficient when it comes to transferring binary objects. Assuming two > repositories that are in sync. After a 'git checkout --orphan && git > commit', a subsequent transfers sends all the blobs attached to the new > commit, although the other side already has all the blobs.
I do not think it has anything to do with binary, but what you deserve from using orphan, where you declared that the history does not have anything to do with the original.
If both of your repositories had the two paralle lines of these histories as branches, the transfer would have went well with or without binary objects.