diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2005-08-16 00:10:03 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-16 12:09:33 -0700 |
commit | c508df5edfe12b9df7dfea4d438c1dab2812b3e9 (patch) | |
tree | 2d60fa6a1e2248728c250d4479df97a037771679 /cache.h | |
parent | b0921331030d52febf52839753eee1b2b9ca1f24 (diff) | |
download | git-c508df5edfe12b9df7dfea4d438c1dab2812b3e9.tar.gz git-c508df5edfe12b9df7dfea4d438c1dab2812b3e9.tar.xz |
[PATCH] Add function to read an index file from an arbitrary filename.
Note that the pack file has to be in the usual location if it gets
installed later.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -319,6 +319,8 @@ extern int get_ack(int fd, unsigned char *result_sha1); extern struct ref **get_remote_heads(int in, struct ref **list, int nr_match, char **match); extern struct packed_git *parse_pack_index(unsigned char *sha1); +extern struct packed_git *parse_pack_index_file(unsigned char *sha1, + char *idx_path); extern void prepare_packed_git(void); extern void install_packed_git(struct packed_git *pack); |