We previously used many submodules in our main repositories, but to increase the maintainability of our projects we started an experimental branch where we replaced them all with subtrees.
This worked good - but now when I'm trying to update one of the subtrees it erroneously merges the update into a completely wrong directory that isn't even a subtree.
The main repository, where the branch "subtree" contains the experimental branch, is: git://github.com/hugowetterberg/goodold_drupal.git
The repository to merge in updates from: git://github.com/voxpelli/drupal-oembed.git
Merging by doing: git merge -s subtree oembed/master
The path the updates should be merged into: sites/all/modules/oembed/
The path they are merged into: modules/aggregator/translations/
Anyone having an idea of how to get the updates into the subtrees or what the error can be?