From 9fc7465d61a696c210ddfba48ad0b67bde899272 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Sun, 15 Feb 2009 01:50:11 +0200 Subject: [PATCH] Do not use '-x' with git clean. I am afraid that would surprise to many people since "removing untracked files" means removing the ones listed in the status buffer. --- magit.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/magit.el b/magit.el index c22ed5ef..02c3e138 100644 --- a/magit.el +++ b/magit.el @@ -2674,7 +2674,6 @@ Prefix arg means justify as well." (defun magit-clean () (interactive) (if (yes-or-no-p "Remove all untracked files and directories? ") - (magit-run "git" "clean" "-dxf"))) - + (magit-run "git" "clean" "-df"))) (provide 'magit)