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
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-09-28 16:02:22 +0300
committerJunio C Hamano <gitster@pobox.com>2021-09-29 01:12:04 +0300
commit6a99fa2e9eaeb3347f9d129e1231d3e15353105d (patch)
treee67281736061f5d3bfe648c5290617344ae88567 /refs/ref-cache.h
parent34e8a20d763d46d7424f699c6ded2cf7ef66b04e (diff)
refs/ref-cache.[ch]: remove unused add_ref_entry()
This function has not been used since 9dd389f3d8d (packed_ref_store: get rid of the `ref_cache` entirely, 2017-09-25). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/ref-cache.h')
-rw-r--r--refs/ref-cache.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/refs/ref-cache.h b/refs/ref-cache.h
index bd1ff578ea..580d4038f6 100644
--- a/refs/ref-cache.h
+++ b/refs/ref-cache.h
@@ -200,13 +200,6 @@ void free_ref_cache(struct ref_cache *cache);
void add_entry_to_dir(struct ref_dir *dir, struct ref_entry *entry);
/*
- * Add a ref_entry to the ref_dir (unsorted), recursing into
- * subdirectories as necessary. dir must represent the top-level
- * directory. Return 0 on success.
- */
-int add_ref_entry(struct ref_dir *dir, struct ref_entry *ref);
-
-/*
* Find the value entry with the given name in dir, sorting ref_dirs
* and recursing into subdirectories as necessary. If the name is not
* found or it corresponds to a directory entry, return NULL.