mirror of
https://github.com/git/git.git
synced 2024-11-15 14:14:08 +01:00
72d0ea0056
Introduce the ls-refs server command. In protocol v2, the ls-refs command is used to request the ref advertisement from the server. Since it is a command which can be requested (as opposed to mandatory in v1), a client can sent a number of parameters in its request to limit the ref advertisement based on provided ref-prefixes. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
11 lines
224 B
C
11 lines
224 B
C
#ifndef LS_REFS_H
|
|
#define LS_REFS_H
|
|
|
|
struct repository;
|
|
struct argv_array;
|
|
struct packet_reader;
|
|
extern int ls_refs(struct repository *r, struct argv_array *keys,
|
|
struct packet_reader *request);
|
|
|
|
#endif /* LS_REFS_H */
|