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>
		
			
				
	
	
		
			14 lines
		
	
	
		
			243 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			243 B
		
	
	
	
		
			C
		
	
	
	
	
	
#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 */
 |