]> asedeno.scripts.mit.edu Git - git.git/blobdiff - transport.h
Merge branch 'js/rebase' into HEAD
[git.git] / transport.h
index 3e332ff53ad95fb47fc39aea5ca1ae479d92672b..df12ea74243cab68cc13eecf61106bba8ace1be4 100644 (file)
@@ -24,11 +24,12 @@ 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
 
 /* Returns a transport suitable for the url */
 struct transport *transport_get(struct remote *, const char *);
@@ -47,9 +48,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"