X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.h;h=639f13dcfed434857c724293cf3f3f6b9d4d14ed;hb=2cd9c2aff0d65bbce704a68d9cbe7a17e02257fe;hp=27bfc528acb5b51006c7d61db0d1d7910adaf31c;hpb=4197195bee15f120e99d797b22108fd274235fd7;p=git.git diff --git a/transport.h b/transport.h index 27bfc528a..639f13dcf 100644 --- a/transport.h +++ b/transport.h @@ -35,6 +35,7 @@ struct transport { #define TRANSPORT_PUSH_DRY_RUN 4 #define TRANSPORT_PUSH_MIRROR 8 #define TRANSPORT_PUSH_VERBOSE 16 +#define TRANSPORT_PUSH_PORCELAIN 32 /* Returns a transport suitable for the url */ struct transport *transport_get(struct remote *, const char *); @@ -67,7 +68,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);