X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=transport.h;h=171a01c7a322fa2bbbd32bec1d18ab54dbcbc1bb;hb=e4d1afbcf2e39a997ae90befd629ee53e444c4c9;hp=27bfc528acb5b51006c7d61db0d1d7910adaf31c;hpb=725cf7b45da1f983fa1cbb0757b0e8855e5ac2de;p=git.git diff --git a/transport.h b/transport.h index 27bfc528a..171a01c7a 100644 --- a/transport.h +++ b/transport.h @@ -35,6 +35,8 @@ struct transport { #define TRANSPORT_PUSH_DRY_RUN 4 #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 *); @@ -67,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);