diff options
| author | Pablo Sabater <pabloosabaterr@gmail.com> | 2026-08-08 02:02:23 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-08-07 18:50:08 -0700 |
| commit | afa4ea56fedc3ca04d3b00a3ef930833e7ad68ea (patch) | |
| tree | 99e102a7c7a3fb7bb88f60be9c365fef90c8fefa /fetch-object-info.h | |
| parent | 7692fa90199c623629f07e8883f5df8cfa859e03 (diff) | |
fetch-object-info: parse type from server response
The server can handle type requests but does not advertise the
capability yet. Prepare the client to know how to parse the server
response once the server advertises the type capability.
Mentored-by: Karthik Nayak <karthik.188@gmail.com>
Mentored-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-object-info.h')
| -rw-r--r-- | fetch-object-info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fetch-object-info.h b/fetch-object-info.h index 10cf9f5f63..2fba96c6f7 100644 --- a/fetch-object-info.h +++ b/fetch-object-info.h @@ -1,14 +1,17 @@ #ifndef FETCH_OBJECT_INFO_H #define FETCH_OBJECT_INFO_H +#include "object.h" #include "pkt-line.h" #include "protocol.h" struct fetch_object_info_results { size_t *sizes; + enum object_type *types; uint8_t *unrecognized; size_t nr; unsigned wants_size:1; + unsigned wants_type:1; }; #define FETCH_OBJECT_INFO_RESULTS_INIT { 0 } |
