Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-remote-mediawiki: split get_mw_pages into smaller functions
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 784b58039dd078fc1e0c4554820cd0e99c8e41d2..959d349ea7426344289020ee4216785fa65ec1e6 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-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);