X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.h;h=161d724bba5c132950b45866286c558148560d01;hb=32ec23162e9c77f4648cf0bdc7b3a60ac7f00929;hp=e803c0e7baf3785fac35fca64072e05e4f668a26;hpb=25197ebe7f813407b028a2c304ff8ee58da40a16;p=git.git diff --git a/transport.h b/transport.h index e803c0e7b..161d724bb 100644 --- a/transport.h +++ b/transport.h @@ -166,4 +166,7 @@ int transport_refs_pushed(struct ref *ref); void transport_print_push_status(const char *dest, struct ref *refs, int verbose, int porcelain, int *nonfastforward); +typedef void alternate_ref_fn(const struct ref *, void *); +extern void for_each_alternate_ref(alternate_ref_fn, void *); + #endif