diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-23 13:35:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-23 13:35:06 -0700 |
commit | 4809ff858b78c94ada8bd8a61a89ae8d39eda193 (patch) | |
tree | 1fef747fa1f6ee157441152a789a9ed472d60405 /cache.h | |
parent | remote: fix typo (diff) | |
parent | teach add_submodule_odb() to look for alternates (diff) | |
download | tgif-4809ff858b78c94ada8bd8a61a89ae8d39eda193.tar.xz |
Merge branch 'hv/submodule-alt-odb'
When peeking into object stores of submodules, the code forgot that they
might borrow objects from alternate object stores on their own.
By Heiko Voigt
* hv/submodule-alt-odb:
teach add_submodule_odb() to look for alternates
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -947,6 +947,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*); |