X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.h;h=51b539778c2f63591c4f032e311372b2e9975a37;hb=995bdc73fe0e28d622af0897440f0ea298345585;hp=b1c225276619c3bc4dda5dcd0469e242ab421ea0;hpb=f5b223abfdc01455d42ed005b4fd9330b06c2967;p=git.git diff --git a/transport.h b/transport.h index b1c225276..51b539778 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 *); @@ -74,5 +75,6 @@ const struct ref *transport_get_remote_refs(struct transport *transport); int transport_fetch_refs(struct transport *transport, const struct ref *refs); void transport_unlock_pack(struct transport *transport); int transport_disconnect(struct transport *transport); +char *transport_anonymize_url(const char *url); #endif