Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-09-28 16:02:20 +0300
committerJunio C Hamano <gitster@pobox.com>2021-09-29 01:12:04 +0300
commit98961e42f047bf0a9891d6c7d58d54e86285ae52 (patch)
treed1e4d37eef4600657f3a7ca0824e0c19587b3d5c /refs.h
parentcefe983a320c03d7843ac78e73bd513a27806845 (diff)
refs.[ch]: remove unused ref_storage_backend_exists()
This function was added in 3dce444f178 (refs: add a backend method structure, 2016-09-04), but has never been used by anything. The only caller that might care uses find_ref_storage_backend() directly. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/refs.h b/refs.h
index 48970dfc7e..573b69863d 100644
--- a/refs.h
+++ b/refs.h
@@ -836,8 +836,6 @@ int reflog_expire(const char *refname, const struct object_id *oid,
reflog_expiry_cleanup_fn cleanup_fn,
void *policy_cb_data);
-int ref_storage_backend_exists(const char *name);
-
struct ref_store *get_main_ref_store(struct repository *r);
/**