From 5115dea02ba6a90485f2a0d7b77e90a01f0d00a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gustav=20H=C3=A5llberg?= Date: Sat, 1 Aug 2009 23:21:13 +0200 Subject: [PATCH] stgit.el: Run "git rm" with "-q" to reduce spam MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Gustav HÃ¥llberg --- contrib/stgit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/stgit.el b/contrib/stgit.el index 97a6d13..65fe68a 100644 --- a/contrib/stgit.el +++ b/contrib/stgit.el @@ -878,9 +878,9 @@ If PATCHSYM is a keyword, returns PATCHSYM unmodified." (defun stgit-move-change-to-index (file) "Copies the workspace state of FILE to index, using git add or git rm" - (let ((op (if (file-exists-p file) "add" "rm"))) + (let ((op (if (file-exists-p file) '("add") '("rm" "-q")))) (stgit-capture-output "*git output*" - (stgit-run-git op "--" file)))) + (apply 'stgit-run-git (append op '("--") (list file)))))) (defun stgit-remove-change-from-index (file) "Unstages the change in FILE from the index" -- 2.11.0