The interaction between "git clone --recurse-submodules" and
alternate object store was ill-designed. The documentation and
code have been taught to make more clear recommendations when the
users see failures.
* jt/clone-recursesub-ref-advise:
submodule--helper: advise on fatal alternate error
Doc: explain submodule.alternateErrorStrategy
#include "diffcore.h"
#include "diff.h"
#include "object-store.h"
+#include "dir.h"
+ #include "advice.h"
#define OPT_QUIET (1 << 0)
#define OPT_CACHED (1 << 1)