object-info: support for retrieving object info
commita2ba162cda2acc171c3e36acbbc854792b093cb7
authorBruno Albuquerque <bga@google.com>
Tue, 20 Apr 2021 23:38:31 +0000 (20 16:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Apr 2021 00:41:13 +0000 (20 17:41 -0700)
tree7e276bdd845e0291feb9aae460e074a73b7efca7
parentd1b10fc6d84d49796026e567833b88c7f8886c35
object-info: support for retrieving object info

Sometimes it is useful to get information of an object without having to
download it completely.

Add the "object-info" capability that lets the client ask for
object-related information with their full hexadecimal object names.

Only sizes are returned for now.

Signed-off-by: Bruno Albuquerque <bga@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/protocol-v2.txt
Makefile
protocol-caps.c [new file with mode: 0644]
protocol-caps.h [new file with mode: 0644]
serve.c
t/t5701-git-serve.sh