diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-16 11:39:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-16 11:17:02 -0700 |
commit | c339ff690f5b5a9f27e27f4cb4d22023a0b7ebaf (patch) | |
tree | 91c013a184a5beed816ab9d23fdbb2cd1c21fe6a /t/t4051 | |
parent | refs API: make parse_loose_ref_contents() not set errno (diff) | |
download | tgif-c339ff690f5b5a9f27e27f4cb4d22023a0b7ebaf.tar.xz |
refs API: make refs_rename_ref_available() static
Move the refs_rename_ref_available() function into
"refs/files-backend.c". It is file-backend specific.
This function was added in 5fe7d825da8 (refs.c: pass a list of names
to skip to is_refname_available, 2014-05-01) as rename_ref_available()
and was only ever used in this one file-backend specific codepath. So
let's move it there.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4051')
0 files changed, 0 insertions, 0 deletions