teach add_submodule_odb() to look for alternates
authorHeiko Voigt <hvoigt@hvoigt.net>
Mon, 14 May 2012 16:24:45 +0000 (18:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 May 2012 18:56:42 +0000 (11:56 -0700)
commit5e73633dbf8a62190611f6eb438a1a2eaaffa919
tree3b4d75ea58902847c8313ef9abdb5c64fea8d09a
parentd0f1ea6003d97e63110fa7d50bb07f546a909b6e
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 <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
sha1_file.c
submodule.c
t/t4041-diff-submodule-option.sh