X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=transport.h;h=c14da6f1e53ece9fa9ac2e68b73674c54329be5f;hb=5322ef2006cc93ad76140ff742cd96e74c1ec09b;hp=df87264637bcc6fc5954b52a9580f4d222ac3a00;hpb=6eb996b5707b6d14cf9875a9231f4e909a443665;p=thirdparty%2Fgit.git diff --git a/transport.h b/transport.h index df87264637..c14da6f1e5 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); @@ -78,6 +80,6 @@ int transport_disconnect(struct transport *transport); char *transport_anonymize_url(const char *url); /* Transport methods defined outside transport.c */ -int transport_helper_init(struct transport *transport); +int transport_helper_init(struct transport *transport, const char *name); #endif