diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-06-16 22:19:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-16 22:19:00 -0700 |
commit | 79c6dca413094d2df74e7050f1185963b00e9245 (patch) | |
tree | 04e1aeabd72c3732b55a3bea74f561f068e8845f /cache.h | |
parent | 3bfaf01857ebcefbd38529a73b059dc984ecb5a4 (diff) | |
download | git-79c6dca413094d2df74e7050f1185963b00e9245.tar.gz git-79c6dca413094d2df74e7050f1185963b00e9245.tar.xz |
sha1_file.c: simplify parse_pack_index()
It was implemented as a thin wrapper around an otherwise unused
helper function parse_pack_index_file(). The code becomes simpler
and easier to read by consolidating the two.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -694,8 +694,6 @@ extern struct ref **get_remote_heads(int in, struct ref **list, int nr_match, ch extern int server_supports(const char *feature); extern struct packed_git *parse_pack_index(unsigned char *sha1); -extern struct packed_git *parse_pack_index_file(const unsigned char *sha1, - const char *idx_path); extern void prepare_packed_git(void); extern void reprepare_packed_git(void); |