Code

Fix a crash in ls-remote when refspec expands into nothing
[git.git] / transport.h
index 3e332ff53ad95fb47fc39aea5ca1ae479d92672b..4bb51d7b7f572b2f324e3ba8d1068bc4f5883b1d 100644 (file)
@@ -24,7 +24,7 @@ struct transport {
 
        int (*disconnect)(struct transport *connection);
        char *pack_lockfile;
-       unsigned verbose : 1;
+       signed verbose : 2;
 };
 
 #define TRANSPORT_PUSH_ALL 1
@@ -47,9 +47,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"