X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.h;h=c14da6f1e53ece9fa9ac2e68b73674c54329be5f;hb=164a5e3faab931a6c6459b56acae7f91dde6337d;hp=b49c10f57db86796a3c336c8b715d71fa49fdf0e;hpb=c9e388bb48bdafdf19574add915ab0ce33a1907d;p=git.git diff --git a/transport.h b/transport.h index b49c10f57..c14da6f1e 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);