update-ref: drop unused argument for `parse_refname`
authorPatrick Steinhardt <ps@pks.im>
Thu, 2 Apr 2020 07:09:43 +0000 (09:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Apr 2020 18:09:48 +0000 (11:09 -0700)
commit5ae6c5a7129a55e69d39cfb70c78bb5b92bbccb7
treeb30a7d27a65bb3891beb8dfc1a2ff45d9f237e54
parenta65b8ac291d919c8f0c89f7397e03662020344ab
update-ref: drop unused argument for `parse_refname`

The `parse_refname` function accepts a `struct strbuf *input` argument
that isn't used at all. As we're about to convert commands to not use a
strbuf anymore but instead an end pointer, let's drop this argument now
to make the converting commit easier to review.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/update-ref.c