That's correct, and the autofollowing code does so. You will
not know if you have T^{} until your primary transfer finishes,
so you cannot roll autofollow into it.
I think we can teach the upload-pack side to be more helpful and
with a protocol extension to send tag objects that are pointing
at commits that will be included in the result, or something
like that, though. But that is outside the scope of 1.5.5; it
would be a moderate to large protocol surgery, and I suspect it
might even have to affect pack-objects.
You won't know if you need only one object, so seeing that you
have T^{} and asking _only_ for T is _wrong_. Think of a tag
that points at another tag that points at the commit. You need
to tell the other end "I have T^{}, please give me T", and that
is exactly what the autofollowing does.
-
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