summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-receive.sample
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-09-28 14:49:45 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-28 14:43:38 -0700
commitabf897bacd2d36b9dbd07c70b4a2f97a084704ee (patch)
treeff6cd107cf963b4c86b51e2d7f90aa4f914e2a8e /templates/hooks--pre-receive.sample
parentThe ninth batch (diff)
downloadtgif-abf897bacd2d36b9dbd07c70b4a2f97a084704ee.tar.xz
string-list.[ch]: remove string_list_init() compatibility function
Remove this function left over to accommodate in-flight changes, see 770fedaf9fb (string-list.[ch]: add a string_list_init_{nodup,dup}(), 2021-07-01) for the recent change to add "string_list_init_{nodup,dup}()" initializers. There was only one user of the API left in remote-curl.c. I don't know why I didn't include this change to remote-curl.c in bc40dfb10a0 (string-list.h users: change to use *_{nodup,dup}(), 2021-07-01), perhaps I just missed it. In any case, let's change that one user to use the new API, as of writing this there are no in-flight changes that use, so this seems like a good time to drop this before we get any new users of this compatibility API. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-receive.sample')
0 files changed, 0 insertions, 0 deletions