Re: pack negotiation algorithm between 2 share-nothing repos

2015-08-26 Thread Junio C Hamano
Junio C Hamano writes: > Duy Nguyen writes: > >> I know this is a corner case, but because it has a valid use case, >> maybe we should do something about it. Immediate reaction is to add an >> option to send no "have"s. But maybe you guys have better ideas. > > This and similar corner cases were

Re: pack negotiation algorithm between 2 share-nothing repos

2015-08-12 Thread Junio C Hamano
Duy Nguyen writes: > I know this is a corner case, but because it has a valid use case, > maybe we should do something about it. Immediate reaction is to add an > option to send no "have"s. But maybe you guys have better ideas. This and similar corner cases were discussed in very early days of G

pack negotiation algorithm between 2 share-nothing repos

2015-08-12 Thread Duy Nguyen
This is a corner case that has a real use case: git clone linux-2.6.git cd linux-2.6 git remote add history git-history.git git fetch history # graft graft graft Because history.gi and linux-2.6.git have nothing in common, the server side keeps asking for more "have"s and the client keeps sending