finalize_object_file(): check for name collision before renaming
[git/gitster.git] / upload-pack.h
blobd6ee25ea98e1b350377a3b9fb6e3750e516517f8
1 #ifndef UPLOAD_PACK_H
2 #define UPLOAD_PACK_H
4 void upload_pack(const int advertise_refs, const int stateless_rpc,
5 const int timeout);
7 struct repository;
8 struct packet_reader;
9 int upload_pack_v2(struct repository *r, struct packet_reader *request);
11 struct strbuf;
12 int upload_pack_advertise(struct repository *r,
13 struct strbuf *value);
15 #endif /* UPLOAD_PACK_H */