]> asedeno.scripts.mit.edu Git - git.git/blobdiff - transport.h
Merge branch 'ds/checkout-upper'
[git.git] / transport.h
index 3e332ff53ad95fb47fc39aea5ca1ae479d92672b..2f80ab4b03df181dc8b041b1aace5832aa84deb1 100644 (file)
@@ -24,11 +24,13 @@ struct transport {
 
        int (*disconnect)(struct transport *connection);
        char *pack_lockfile;
-       unsigned verbose : 1;
+       signed verbose : 2;
 };
 
 #define TRANSPORT_PUSH_ALL 1
 #define TRANSPORT_PUSH_FORCE 2
+#define TRANSPORT_PUSH_DRY_RUN 4
+#define TRANSPORT_PUSH_VERBOSE 8
 
 /* Returns a transport suitable for the url */
 struct transport *transport_get(struct remote *, const char *);
@@ -47,9 +49,6 @@ struct transport *transport_get(struct remote *, const char *);
 /* Keep the pack that was transferred if not null */
 #define TRANS_OPT_KEEP "keep"
 
-/* Unpack the objects if fewer than this number of objects are fetched */
-#define TRANS_OPT_UNPACKLIMIT "unpacklimit"
-
 /* Limit the depth of the fetch if not null */
 #define TRANS_OPT_DEPTH "depth"