diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-02-18 13:53:29 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-18 13:53:29 -0800 |
commit | 18636afdce5f272d79fe6c3036e4e74f69a0845a (patch) | |
tree | 5e2b6e66d9928aeb226dd5740dfab62802a3e8d1 /connect.c | |
parent | Merge branch 'ab/hash-object-leakfix' (diff) | |
parent | ls-remote & transport API: release "struct transport_ls_refs_options" (diff) | |
download | tgif-18636afdce5f272d79fe6c3036e4e74f69a0845a.tar.xz |
Merge branch 'ab/release-transport-ls-refs-options'
* ab/release-transport-ls-refs-options:
ls-remote & transport API: release "struct transport_ls_refs_options"
Diffstat (limited to 'connect.c')
-rw-r--r-- | connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -379,7 +379,7 @@ struct ref **get_remote_heads(struct packet_reader *reader, /* Returns 1 when a valid ref has been added to `list`, 0 otherwise */ static int process_ref_v2(struct packet_reader *reader, struct ref ***list, - char **unborn_head_target) + const char **unborn_head_target) { int ret = 1; int i = 0; @@ -483,7 +483,7 @@ struct ref **get_remote_refs(int fd_out, struct packet_reader *reader, const char *hash_name; struct strvec *ref_prefixes = transport_options ? &transport_options->ref_prefixes : NULL; - char **unborn_head_target = transport_options ? + const char **unborn_head_target = transport_options ? &transport_options->unborn_head_target : NULL; *list = NULL; |