push --force-with-lease: tie it all together
[gitweb.git] / transport.h
index b551f991108c8142eda6c8cb5497d37782b6dd53..10f7556001c98c9da533c959b1e1c7b3ba8b2ca0 100644 (file)
@@ -14,6 +14,7 @@ struct git_transport_options {
        int depth;
        const char *uploadpack;
        const char *receivepack;
+       struct push_cas_option *cas;
 };
 
 struct transport {
@@ -127,6 +128,9 @@ struct transport *transport_get(struct remote *, const char *);
 /* Transfer the data as a thin pack if not null */
 #define TRANS_OPT_THIN "thin"
 
+/* Check the current value of the remote ref */
+#define TRANS_OPT_CAS "cas"
+
 /* Keep the pack that was transferred if not null */
 #define TRANS_OPT_KEEP "keep"