diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2008-04-17 19:32:30 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-04 17:41:44 -0700 |
commit | bef70b22ba63d71c1ae2e070e64ff9863ea1ad14 (patch) | |
tree | c8f02795dc1d86cb5459d034604896d8b3a76ac8 /cache.h | |
parent | ea3cd5c7c63fadacd66c364ae4b8c6d01e5809b1 (diff) | |
download | git-bef70b22ba63d71c1ae2e070e64ff9863ea1ad14.tar.gz |
Add a library function to add an alternate to the alternates file
This is in the core so that, if the alternates file has already been
read, the addition can be parsed and put into effect for the current
process.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -599,6 +599,7 @@ extern struct alternate_object_database { char base[FLEX_ARRAY]; /* more */ } *alt_odb_list; extern void prepare_alt_odb(void); +extern void add_to_alternates_file(const char *reference); struct pack_window { struct pack_window *next; |