[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>
This commit is contained in:

committed by
Junio C Hamano

parent
b092133103
commit
c508df5edf
2
cache.h
2
cache.h
@ -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);
|
||||
|
Reference in New Issue
Block a user