diff options
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/transport.h b/transport.h index 1f5b60e..24e1579 100644 --- a/transport.h +++ b/transport.h @@ -243,6 +243,14 @@ struct transport_ls_refs_options { * provided ref_prefixes. */ struct strvec ref_prefixes; + + /* + * If unborn_head_target is not NULL, and the remote reports HEAD as + * pointing to an unborn branch, transport_get_remote_refs() stores the + * unborn branch in unborn_head_target. It should be freed by the + * caller. + */ + char *unborn_head_target; }; #define TRANSPORT_LS_REFS_OPTIONS_INIT { STRVEC_INIT } |