branch: elpa/magit
commit ce6b01843cbe16e6ace7500e32a1729fff426867
Author: Basil L. Contovounesios <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-branch-adjust-remote-upstream-alist: Use alist custom type
---
lisp/magit-branch.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lisp/magit-branch.el b/lisp/magit-branch.el
index 641316b0d1..d2a4f3d2ba 100644
--- a/lisp/magit-branch.el
+++ b/lisp/magit-branch.el
@@ -153,11 +153,11 @@ to set `magit-branch-prefer-remote-upstream' to a non-nil
value.
However, I recommend that you use local branches as UPSTREAM."
:package-version '(magit . "2.9.0")
:group 'magit-commands
- :type '(repeat (cons (string :tag "Use upstream")
- (choice :tag "For branches" ;???
- (regexp :tag "Matching")
- (repeat :tag "Except"
- (string :tag "Branch"))))))
+ :type '(alist :key-type (string :tag "Use upstream")
+ :value-type (choice :tag "For branches" ;???
+ (regexp :tag "Matching")
+ (repeat :tag "Except"
+ (string :tag "Branch")))))
(defcustom magit-branch-rename-push-target t
"Whether the push-remote setup is preserved when renaming a branch.