* magit.el (magit-revert-item): Use magit-log-edit-append instead of
the removed magit-append-to-log-edit.
This commit is contained in:
Marius Vollmer 2008-08-31 21:49:14 +03:00
parent db06a91204
commit a040eb8038

View file

@ -1225,7 +1225,7 @@ Please see the manual for a complete description of Magit.
(interactive)
(magit-item-case (item info "revert")
((commit)
(magit-append-to-log-edit
(magit-log-edit-append
(magit-format-commit info "Reverting \"%s\""))
(magit-run-shell "git diff %s^ %s | git apply --reverse -" info info))))