diff --git a/magit.el b/magit.el index f282353b..37e75957 100644 --- a/magit.el +++ b/magit.el @@ -839,17 +839,13 @@ pushed. (or commit (error "No commit at point."))))) -(defun magit-revert-commit () - (interactive) - (magit-run "git" "revert" "--no-commit" (magit-commit-at-point))) - (defun magit-apply-commit () (interactive) (magit-run "git" "cherry-pick" "--no-commit" (magit-commit-at-point))) -(defun magit-log-commit () +(defun magit-revert-commit () (interactive) - (magit-browse-log (magit-commit-at-point))) + (magit-run "git" "revert" "--no-commit" (magit-commit-at-point))) (defun magit-show-commit () "Show details of the commit on the current line."