Re: [PATCH v2 2/8] upload-pack: implement ref-in-want
Junio C Hamano <gitster@pobox.com> writes:
Show 11 quoted lines
> The story would be different if your request were
>
> git fetch refs/heads/*:refs/remotes/origin/*
>
> in which case, you are not even saying "I want this and that ref";
> you are saying "all refs in refs/heads/* whoever ends up serving me
> happens to have". You may initially contact one of my friends and
> learn that there are 'master' and 'bo' branches (and probably
> others), and after conversation end up talking with me who is stale
> and lack 'bo'. In such a case, I agree that it is not sensible for
> me to fail the request as a whole and instead serve you whatever
s/whole and instead/whole. I should instead/;
> branches I happen to have. I may lack 'bo' branch due to mirroring
> lag, but I may also have 'extra' branch that others no longer have
> due to mirroring lag of deletion of that branch!