mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
upload-pack: convert to a builtin
In order to allow for code sharing with the server-side of fetch in protocol-v2 convert upload-pack to be a builtin. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a4cfd41c7b
commit
a3d6b53e92
13
upload-pack.h
Normal file
13
upload-pack.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef UPLOAD_PACK_H
|
||||
#define UPLOAD_PACK_H
|
||||
|
||||
struct upload_pack_options {
|
||||
int stateless_rpc;
|
||||
int advertise_refs;
|
||||
unsigned int timeout;
|
||||
int daemon_mode;
|
||||
};
|
||||
|
||||
void upload_pack(struct upload_pack_options *options);
|
||||
|
||||
#endif /* UPLOAD_PACK_H */
|
||||
Reference in New Issue
Block a user