I found some other questions that talk about a reverse merge in Git, but those questions are asking how to reverse merge an ENTIRE commmit. I want to reverse merge one directory in my tree. Is this possible in Git?
In subversion, you can do this:
$ cd /workingcopy/some/subtree
$ svn merge -r802:801 .
And this calculates the reverse diff between revision 801 and 802 and only applies it to the current directory.
The best I can come up with is
$ cd /gitrepo/some/subtree
$ git diff <commit-sha1> <commit-sha1>^ . > patchfile
$ patch -p1 < patchfile
Although I haven't actually tested this yet. Can git do something better?