
21 May
2008
21 May
'08
6:37 p.m.
On Wed, May 21, 2008 at 11:24:34AM -0500, Kim Phillips wrote:
this may not be the most efficient way of doing it (I don't see git-revert having a --path option), but this will do #3 above:
git-format-patch --stdout --relative=cpu/ixp/npe HEAD^ | patch -d cpu/ixp/npe -R -p 1 ; git add cpu/ixp/npe; git commit --amend
I think "git checkout HEAD^ cpu/ixp/npe; git commit --amend" will do what you want, assuming HEAD is the commit to partially revert.
-Scott