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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/magit.el b/magit.el
index 3576f5b..98a8ed7 100644
--- a/magit.el
+++ b/magit.el
@@ -749,7 +749,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
--
1.7.0.3
To unsubscribe from this group, send email to magit+unsubscribegooglegroups.com
or reply to this email with the words "REMOVE ME" as the subject.