Posted by skomorokh on February 4, 2011 at 6:07pm
I am working on a D6 module that I'd like to port to 7 soon. While I will certainly need to maintain the PHP files in separate branches, it involves a lot of Javascript that I think can be nearly identical between versions. Rather than copying files back and forth or cherry-picking commits between the branches, will it be possible to use git submodules or subtree merge with Drupal projects?
Comments
Subtree merge, I can't think
Subtree merge, I can't think of a reason why not. Submodules, I don't think so. Our packager doesn't have support for doing the nested operations necessary to retrieve submodules.