…e can find the submodules in the commits provided
Previously when doing a merge it will use the .gitmodules in HEAD to find submodules. However when merge-bare was used it wasn't able to find the submodules in the provided commits if they weren't in the HEAD's .gitmodules. This fixes it to use the target of the commits passed in to the merge-bare command to find the .gitsubmodules.
…e can find the submodules in the commits provided
Previously when doing a merge it will use the .gitmodules in HEAD to find submodules. However when merge-bare was used it wasn't able to find the submodules in the provided commits if they weren't in the HEAD's .gitmodules. This fixes it to use the target of the commits passed in to the merge-bare command to find the .gitsubmodules.