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.
This commit is contained in:
Marius Vollmer 2009-02-15 01:50:11 +02:00
parent 62d9f73aea
commit 9fc7465d61

View file

@ -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)