]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport.h
Add support for external programs for handling native fetches
[thirdparty/git.git] / transport.h
index 27bfc528acb5b51006c7d61db0d1d7910adaf31c..df87264637bcc6fc5954b52a9580f4d222ac3a00 100644 (file)
@@ -35,6 +35,7 @@ struct transport {
 #define TRANSPORT_PUSH_DRY_RUN 4
 #define TRANSPORT_PUSH_MIRROR 8
 #define TRANSPORT_PUSH_VERBOSE 16
+#define TRANSPORT_PUSH_PORCELAIN 32
 
 /* Returns a transport suitable for the url */
 struct transport *transport_get(struct remote *, const char *);
@@ -76,4 +77,7 @@ void transport_unlock_pack(struct transport *transport);
 int transport_disconnect(struct transport *transport);
 char *transport_anonymize_url(const char *url);
 
+/* Transport methods defined outside transport.c */
+int transport_helper_init(struct transport *transport);
+
 #endif