X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=transport.h;h=171a01c7a322fa2bbbd32bec1d18ab54dbcbc1bb;hb=e4d1afbcf2e39a997ae90befd629ee53e444c4c9;hp=51b539778c2f63591c4f032e311372b2e9975a37;hpb=f87dd2152a6941dfa7f3ddaf599bc30f58562a98;p=git.git diff --git a/transport.h b/transport.h index 51b539778..171a01c7a 100644 --- a/transport.h +++ b/transport.h @@ -36,6 +36,7 @@ struct transport { #define TRANSPORT_PUSH_MIRROR 8 #define TRANSPORT_PUSH_VERBOSE 16 #define TRANSPORT_PUSH_PORCELAIN 32 +#define TRANSPORT_PUSH_QUIET 64 /* Returns a transport suitable for the url */ struct transport *transport_get(struct remote *, const char *); @@ -68,7 +69,8 @@ int transport_set_option(struct transport *transport, const char *name, const char *value); int transport_push(struct transport *connection, - int refspec_nr, const char **refspec, int flags); + int refspec_nr, const char **refspec, int flags, + int * nonfastforward); const struct ref *transport_get_remote_refs(struct transport *transport);