Re: [PATCH v5 8/8] fetch-pack: implement ref-in-want

2018-06-27 Thread Brandon Williams
On 06/27, Jonathan Tan wrote: > > +test_expect_success 'setup repos for change-while-negotiating test' ' > > The tests that follow are basic ref-in-want tests, not tests on a repo > that changes during negotiation - this would be just "setup repos for > fetch tests". That looks like a copy-paste

Re: [PATCH v5 8/8] fetch-pack: implement ref-in-want

2018-06-27 Thread Jonathan Tan
> +test_expect_success 'setup repos for change-while-negotiating test' ' The tests that follow are basic ref-in-want tests, not tests on a repo that changes during negotiation - this would be just "setup repos for fetch tests". > +test_expect_success 'fetching with exact OID' ' > + rm -rf

[PATCH v5 8/8] fetch-pack: implement ref-in-want

2018-06-26 Thread Brandon Williams
Implement ref-in-want on the client side so that when a server supports the "ref-in-want" feature, a client will send "want-ref" lines for each reference the client wants to fetch. This feature allows clients to tolerate inconsistencies that exist when a remote repository's refs change during the