This removes dead code in the refs backend, mainly in the ref-cache. By line count this is mostly a straightforward follow-up to 9939b33d6a3 (packed-backend: rip out some now-unused code, 2017-09-08) and 9dd389f3d8d (packed_ref_store: get rid of the `ref_cache` entirely, 2017-09-25). Ævar Arnfjörð Bjarmason (5): refs.[ch]: remove unused ref_storage_backend_exists() refs/ref-cache.[ch]: remove unused remove_entry_from_dir() refs/ref-cache.[ch]: remove unused add_ref_entry() refs/ref-cache.c: remove "mkdir" parameter from find_containing_dir() refs/ref-cache.[ch]: remove "incomplete" from create_dir_entry() refs.c | 5 --- refs.h | 2 - refs/files-backend.c | 6 +-- refs/ref-cache.c | 87 ++++++++------------------------------------ refs/ref-cache.h | 26 +------------ 5 files changed, 19 insertions(+), 107 deletions(-) -- 2.33.0.1340.ge9f77250f2b