summaryrefslogtreecommitdiff
path: root/pack-revindex.h
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2021-01-13 22:24:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-01-14 05:53:47 (GMT)
commit1c3855f33b66accf106a015a4f94c3b7775c54f9 (patch)
tree23de46240a6684f3ba4fa40e91f2dfc25f88bd79 /pack-revindex.h
parent2891b434ac4b3e83b49d94b36825915734b8adcc (diff)
downloadgit-1c3855f33b66accf106a015a4f94c3b7775c54f9.zip
git-1c3855f33b66accf106a015a4f94c3b7775c54f9.tar.gz
git-1c3855f33b66accf106a015a4f94c3b7775c54f9.tar.bz2
pack-revindex: remove unused 'find_pack_revindex()'
Now that no callers of 'find_pack_revindex()' remain, remove the function's declaration and implementation entirely. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-revindex.h')
-rw-r--r--pack-revindex.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/pack-revindex.h b/pack-revindex.h
index 5a218aa..f7094ba 100644
--- a/pack-revindex.h
+++ b/pack-revindex.h
@@ -30,8 +30,6 @@ struct revindex_entry {
int load_pack_revindex(struct packed_git *p);
int find_revindex_position(struct packed_git *p, off_t ofs);
-struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
-
/*
* offset_to_pack_pos converts an object offset to a pack position. This
* function returns zero on success, and a negative number otherwise. The