From 3c9bf0a0f2e2b3e695ed2877ed58d03c3fa61885 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Sun, 17 Aug 2008 00:43:49 +0300 Subject: [PATCH] Make magit-reset-working-tree interactive. * magit.el (magit-reset-working-tree): Add 'interactive' form. --- magit.el | 1 + 1 file changed, 1 insertion(+) diff --git a/magit.el b/magit.el index be540f80..31a6211d 100644 --- a/magit.el +++ b/magit.el @@ -733,6 +733,7 @@ pushed. (magit-run "git" "reset" "--soft" (magit-rev-to-git rev)))) (defun magit-reset-working-tree () + (interactive) (if (yes-or-no-p "Discard all uncommitted changes? ") (magit-run "git" "reset" "--hard")))