From: Junio C Hamano Date: Tue, 02 Jun 2015 21:18:50 GMT Subject: Re: [RFCv2 06/16] remote.h: add new struct for options Message-ID: In-Reply-To: <1433203338-27493-7-git-send-email-sbeller@google.com> Stefan Beller writes: > Signed-off-by: Stefan Beller > --- Why? > 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);