Has someone tried to do "git revert <commit> -- <path>"

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:52:32

Sometimes I want to partially revert a commit, what I'll do is:

    git revert --no-commit <commit> &&
    git reset &&
    git add <paths> &&
    git commit

At which point I'll manually type in the commit window:

    Partially revert "description(<commit>)"

    This partially reverts <commit>. Only <paths> have been reverted.

Has someone tried to patch the revert logic to just support an
optional paths parameter, in which case this wouldn't need to be so
hard.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help