send-pack: don't send a thin pack to a server which doesn't support it
authorCarlos Martín Nieto <redacted>
Sat, 23 Nov 2013 16:07:55 +0000 (17:07 +0100)
committerJunio C Hamano <redacted>
Mon, 25 Nov 2013 21:16:19 +0000 (13:16 -0800)
commit1ba98a79f1b991e6f2b1d01ac392ba2edadc3ca1
tree11c0b5f8bd0f9eb190bb4dca6682c2e53db52550
parentf26f72de159d7ade2fbe8b48734ce98c1aba4d72
send-pack: don't send a thin pack to a server which doesn't support it

Up to now git has assumed that all servers are able to fix thin
packs. This is however not always the case.

Document the 'no-thin' capability and prevent send-pack from generating
a thin pack if the server advertises it.

Signed-off-by: Carlos Martín Nieto <redacted>
Helped-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/technical/protocol-capabilities.txt
send-pack.c
git clone https://git.99rst.org/PROJECT