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 | aa3bb87176d42f1782c5030fa41e6e62492551c0 (diff) | |
parent | 5e73633dbf8a62190611f6eb438a1a2eaaffa919 (diff) | |
download | git-4809ff858b78c94ada8bd8a61a89ae8d39eda193.tar.gz |
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*); |