Re: [RFCv2 06/16] remote.h: add new struct for options
From: Junio C Hamano <hidden>
Date: 2016-06-15 23:05:06
Stefan Beller [off-list ref] writes:
Signed-off-by: Stefan Beller <redacted> ---
Why?
quoted hunk
remote.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+)diff --git a/remote.h b/remote.h index d5242b0..16cacfe 100644 --- a/remote.h +++ b/remote.h@@ -56,6 +56,20 @@ struct remote { char *http_proxy; }; +/* todo: discuss if this should be merged with + * git_transport_options in transport.c */ +struct transport_options { + unsigned multi_ack : 2; + unsigned no_done : 1; + unsigned use_thin_pack : 1; + unsigned no_progress : 1; + unsigned include_tag : 1; + unsigned prefer_ofs_delta : 1; + unsigned agent_supported : 1; + unsigned allow_tip_sha1_in_want : 1; + unsigned use_sideband; +}; + struct remote *remote_get(const char *name); struct remote *pushremote_get(const char *name); int remote_is_configured(const char *name);