From 5e73633dbf8a62190611f6eb438a1a2eaaffa919 Mon Sep 17 00:00:00 2001 From: Heiko Voigt Date: Mon, 14 May 2012 18:24:45 +0200 Subject: teach add_submodule_odb() to look for alternates Since we allow to link other object databases when loading a submodules database we should also load possible alternates. Signed-off-by: Heiko Voigt Signed-off-by: Junio C Hamano --- cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 3a8e1258e7..3a28cb13b3 100644 --- a/cache.h +++ b/cache.h @@ -960,6 +960,7 @@ extern struct alternate_object_database { char base[FLEX_ARRAY]; /* more */ } *alt_odb_list; extern void prepare_alt_odb(void); +extern void read_info_alternates(const char * relative_base, int depth); extern void add_to_alternates_file(const char *reference); typedef int alt_odb_fn(struct alternate_object_database *, void *); extern void foreach_alt_odb(alt_odb_fn, void*); -- cgit v1.2.1