I have project A, which includes a local fork of project B. This is, project B's potentially modified sources are included in a subtree of project A. Project A uses svn, project B uses git.
Using git for my local copy of project A, I want to:
- Be able to merge project B's upstream changes into project A.
- Be able to contribute back to project B some (not all) of the modifications to project B's fork included in project A.
- Do it in such a way that clean individual commits (not squashed) are sent both to project A (via git-svn) and to project B (via git).
I've been trying hard to find a solution mixing git-svn and git-subtree capabilities (git-submodule is out of question as I want a unique source tree). But I can't find a perfect solution.