Jeff King <peff@xxxxxxxx> writes: > Which is all a roundabout way of saying that the git protocol is really > the sane way to do efficient transfers. An alternative, much simpler > scheme would be for the server to just say: > > - if you have nothing, then prime with URL http://host/bundle > > And then _only_ clone would bother with checking mirrors. People doing > fetch would be expected to do it often enough that not being resumable > isn't a big deal. I think that is a sensible place to start. A more fancy conditional "If you have X then fetch this, if you have Y fetch that, ..." sounds nice but depending on what branch you are fetching the answer has to be different. If we were to do that, the natural place for the server to give the redirect instruction to the client is after the client finishes saying "want", and before the client starts saying "have". -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html