Merge branch 'hv/submodule-alt-odb' into maint
commit69e82602b9a5a01bc225d9b4e7a65a9daba506cb
authorJunio C Hamano <gitster@pobox.com>
Fri, 25 May 2012 18:26:38 +0000 (25 11:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 May 2012 18:26:38 +0000 (25 11:26 -0700)
treea1fbafe5fb22f2d96e782a0833b9c2b70c4aea31
parent98eb3fc6cbdede41809e29166ddad4edf6acd1f4
parent5e73633dbf8a62190611f6eb438a1a2eaaffa919
Merge branch 'hv/submodule-alt-odb' into maint

When a submodule repository uses alternate object store mechanism, some
commands that were started from the superproject did not notice it and
failed with "No such object" errors.  The subcommands of "git submodule"
command that recursed into the submodule in a separate process were OK;
only the ones that cheated and peeked directly into the submodule's
repository from the primary process were affected.

By Heiko Voigt
* hv/submodule-alt-odb:
  teach add_submodule_odb() to look for alternates
cache.h