send-pack: don't send a thin pack to a server which doesn't support it
commit1ba98a79f1b991e6f2b1d01ac392ba2edadc3ca1
authorCarlos Martín Nieto <cmn@elego.de>
Sat, 23 Nov 2013 16:07:55 +0000 (23 17:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Nov 2013 21:16:19 +0000 (25 13:16 -0800)
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 <cmn@elego.de>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/protocol-capabilities.txt
send-pack.c