fetch-pack: do not ask for unadvertised capabilities
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2012 21:27:52 +0000 (14:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2012 21:27:52 +0000 (14:27 -0700)
commit74991a98df79ff3702dcb3b5c22c7b9ec20cfead
tree67245f988e98d6beb61b9f8d56adbe0a27edee0e
parentd50c3871632451b0cac066eea178198ac8a9dff1
fetch-pack: do not ask for unadvertised capabilities

In the same spirit as the previous fix, stop asking for thin-pack, no-progress
and include-tag capabilities when the other end does not claim to support them.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch-pack.c