From: "Junio C Hamano" <gits...@pobox.com>
Steffen Prohaska <proha...@zib.de> writes:
I've recently discovered that the current protocol can be amazingly
inefficient when it comes to transferring binary objects. Assuming
repositories that are in sync. After a 'git checkout --orphan && git
commit', a subsequent transfers sends all the blobs attached to the
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.
An alternative could be a shallow clone for just those branches with the
binary objects, so that the git objects are still identical. Or use a
replace/graft to trim the line of development. It's still a fudge, but
something you could look at.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html