Merge pull request #5727 from lhchavez/make-git-diff-fast Cache the parsed submodule config when diffing