aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-subtree.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2016-12-22 13:26:00 +0100
committerJonas Bernoulli <jonas@bernoul.li>2016-12-22 13:26:00 +0100
commit33c5c1cad760bc5a4b9029ac0ade7f5e57790972 (patch)
tree49141afdbfef483eb595235d428035b00d417560 /lisp/magit-subtree.el
parenteb6d8bde3f460979fe18eb9f122734d86fd552fa (diff)
Place magit-{*}-arguments in new magit-git-arguments group
Most options named `magit-TOPIC-arguments' specify the arguments that are enabled by default in the respective `magit-TOPIC-popup'. Previously most of these options were placed in the `magit-commands' Custom group, which made that group rather noisy. A few were placed in others group, which was inconsistent and in most cases an oversight. To avoid having to specify the group for each and every popup defined in Magit and in third-party extensions that share the "magit-" prefix, teach `magit-define-popup' to use `magit-git-arguments' if GROUP isn't specified and NAME does begin with "magit-". Also place `magit-git-global-arguments' into this group. Remove it from `magit', but keep it in `magit-process' as before.
Diffstat (limited to 'lisp/magit-subtree.el')
-rw-r--r--lisp/magit-subtree.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/magit-subtree.el b/lisp/magit-subtree.el
index 843147f..dcb3a45 100644
--- a/lisp/magit-subtree.el
+++ b/lisp/magit-subtree.el
@@ -28,7 +28,6 @@
;;;###autoload (autoload 'magit-subtree-popup "magit-subtree" nil t)
(magit-define-popup magit-subtree-popup
"Popup console for subtree commands."
- 'magit-commands
:man-page "git-subtree"
:switches '("Switches for add, merge, push, and pull"
(?s "Squash" "--squash")