In the dim and distant past there was a decision to break compatibility with one of our configuration programs. However as there would still be remote units running older software we needed to keep a version of the old mgmt software around in the build. A short "cp -a" later we ended up with a directory structure containing:
mgmt-app
mgmt-app.old
Development continued and mgmt-app accumulated a number of fixes, some to new functionality and some generic functionality. As you can probably guess it is now noted that mgmt-app.old doesn't have some of these fixes. It would be nice if I could cherry-pick the relevant fixes and keep useful stuff like comments but apply the commits to mgmt-app.old. Obviously they don't apply normally as they are already in the tree applied to the mgmt-app!
We are using git to version control the repository. Is there a way I could "backport" these commits to a different part of the tree? Is this just going to be solved by manually applying patches with "patch -p "?