Re: [PATCH 1/2] ls-remote: do not send ref prefixes for patterns

2018-11-08 Thread Jonathan Tan
> Jeff King writes: > > > Since b4be74105f (ls-remote: pass ref prefixes when requesting a > > remote's refs, 2018-03-15), "ls-remote foo" will pass "refs/heads/foo", > > "refs/tags/foo", etc to the transport code in an attempt to let the > > other side reduce the size of its advertisement. > >

Re: [PATCH 1/2] ls-remote: do not send ref prefixes for patterns

2018-10-30 Thread Junio C Hamano
Jeff King writes: > Since b4be74105f (ls-remote: pass ref prefixes when requesting a > remote's refs, 2018-03-15), "ls-remote foo" will pass "refs/heads/foo", > "refs/tags/foo", etc to the transport code in an attempt to let the > other side reduce the size of its advertisement. Jonathan,

[PATCH 1/2] ls-remote: do not send ref prefixes for patterns

2018-10-30 Thread Jeff King
Since b4be74105f (ls-remote: pass ref prefixes when requesting a remote's refs, 2018-03-15), "ls-remote foo" will pass "refs/heads/foo", "refs/tags/foo", etc to the transport code in an attempt to let the other side reduce the size of its advertisement. Unfortunately this is not correct, as