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
This commit is contained in:
@ -63,6 +63,9 @@ static int add_submodule_odb(const char *path)
|
||||
alt_odb->name[40] = '\0';
|
||||
alt_odb->name[41] = '\0';
|
||||
alt_odb_list = alt_odb;
|
||||
|
||||
/* add possible alternates from the submodule */
|
||||
read_info_alternates(objects_directory.buf, 0);
|
||||
prepare_alt_odb();
|
||||
done:
|
||||
strbuf_release(&objects_directory);
|
||||
|
Reference in New Issue
Block a user