diff options
author | Brandon Williams <bmwill@google.com> | 2018-03-14 11:31:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-14 14:15:06 -0700 |
commit | a3d6b53e92528d20fdaca504614f260c5b457b29 (patch) | |
tree | 93b5c74f2fa31c9a6c7e6b583b66ecdc075dd7a1 /upload-pack.h | |
parent | pkt-line: add delim packet support (diff) | |
download | tgif-a3d6b53e92528d20fdaca504614f260c5b457b29.tar.xz |
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>
Diffstat (limited to 'upload-pack.h')
-rw-r--r-- | upload-pack.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/upload-pack.h b/upload-pack.h new file mode 100644 index 0000000000..a71e4dc7e2 --- /dev/null +++ b/upload-pack.h @@ -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 */ |