From 7d4c2f6fc8357dc7b5e48e6117accbfb99755e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vanicat?= Date: Mon, 29 Mar 2010 19:28:18 +0200 Subject: [PATCH] In magit-insert-section, do not presume that CMD is git Removing the magit-git-standard-options from magit-insert-section because: - the only use of magit-insert-section is inside magit-git-section that already add the magit-git-standard-options, we do not need to add them twice - as wrote, magit-insert-section could be used for calling any cmd, that may not understand the option in magit-git-standard-options. --- magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magit.el b/magit.el index bc822967..411f8e9f 100644 --- a/magit.el +++ b/magit.el @@ -821,7 +821,7 @@ CMD is an external command that will be run with ARGS as arguments" (insert (propertize buffer-title 'face 'magit-section-title) "\n")) (setq body-beg (point)) - (apply 'process-file cmd nil t nil (append magit-git-standard-options args)) + (apply 'process-file cmd nil t nil args) (if (not (eq (char-before) ?\n)) (insert "\n")) (if washer