I have a git repo with one submodule. I used the method described here to connect them.
Now, I'd like to use filter-branch to check out a specific revision from the submodule for each revision of the superproject. I wrote a script that does that, but checkout doesn't work, because in the temporary root, the submodule doesn't have .git directory...
Is there a way to do that?
Thanks.