diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2019-02-22 12:02:36 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2019-02-22 12:03:46 +0100 |
| commit | 8df54f1512dfcacc00bd50382798d10c8c7172a0 (patch) | |
| tree | 4ee143e96ad436093bbc593ff2dc2ae928050aec /lisp/magit-remote.el | |
| parent | a746e8729f6a88e5de7941e8e630e3fcd0840641 (diff) | |
Rename variables that still had "popup" in their names
Rename magit-branch-{popup-show-variables => direct-configure}.
Rename magit-remote-{popup-show-variables => direct-configure}.
Diffstat (limited to 'lisp/magit-remote.el')
| -rw-r--r-- | lisp/magit-remote.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/magit-remote.el b/lisp/magit-remote.el index 1f5bdcf..b9f15c1 100644 --- a/lisp/magit-remote.el +++ b/lisp/magit-remote.el @@ -46,7 +46,7 @@ variable isn't already set." (string :tag "set if named") (const :tag "don't set"))) -(defcustom magit-remote-popup-show-variables t +(defcustom magit-remote-direct-configure t "Whether the command `magit-remote' shows Git variables. When set to nil, no variables are displayed by this transient command, instead the sub-transient `magit-remote-configure' @@ -90,7 +90,7 @@ values." :value '("-f") ["Variables" :if (lambda () - (and magit-remote-popup-show-variables + (and magit-remote-direct-configure (oref transient--prefix scope))) ("u" magit-remote.<remote>.url) ("U" magit-remote.<remote>.fetch) @@ -286,7 +286,7 @@ Delete the symbolic-ref \"refs/remotes/<remote>/HEAD\"." ("O" magit-remote.<remote>.tagopt)] (interactive (list (or (and (not current-prefix-arg) - (not (and magit-remote-popup-show-variables + (not (and magit-remote-direct-configure (eq current-transient-command 'magit-remote))) (magit-get-current-remote)) (magit--read-remote-scope)))) |
