]> git.ipfire.org Git - thirdparty/git.git/commit
fetch-pack: print all relevant supported capabilities with -v -v
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 20 Jun 2019 11:59:50 +0000 (18:59 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2019 21:00:59 +0000 (14:00 -0700)
commit5a88583b0b241c335b4baf2ccd9b04bc1650efcb
tree2b400371a84a7ee23f0ec7205c6848e431895815
parent0778b2931c8d561b02046a80870af7c9f4d14d52
fetch-pack: print all relevant supported capabilities with -v -v

When we check if some capability is supported, we do print something in
verbose mode. Some capabilities are not printed though (and it made me
think it's not supported; I was more used to GIT_TRACE_PACKET) so let's
print them all.

It's a bit more code. And one could argue for printing all supported
capabilities the server sends us. But I think it's still valuable this
way because we see the capabilities that the client cares about.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c