mirror of
https://github.com/git/git
synced 2024-08-27 03:29:21 +00:00
![Bruno Albuquerque](/assets/img/avatar_default.png)
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>
10 lines
235 B
C
10 lines
235 B
C
#ifndef PROTOCOL_CAPS_H
|
|
#define PROTOCOL_CAPS_H
|
|
|
|
struct repository;
|
|
struct strvec;
|
|
struct packet_reader;
|
|
int cap_object_info(struct repository *r, struct strvec *keys,
|
|
struct packet_reader *request);
|
|
|
|
#endif /* PROTOCOL_CAPS_H */ |