[RFCv2 06/16] remote.h: add new struct for options
Signed-off-by: Stefan Beller <sbeller@google.com>
---
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);
--
2.4.1.345.gab207b6.dirty