branch: elpa/git-commit commit fa8552d1d94a24f843ae3985d04657bcef45425d Author: Jell <jean-lo...@jawaninja.com> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-visit-ref: Fix inverted condition Recent [1: 38cb9372dc] got the condition wrong. 1: 2022-03-25 38cb9372dc51df4767b30181db93f51f7ac856ab Add section-specific context-menus --- lisp/magit-refs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el index 0452e66822..07b03d71f0 100644 --- a/lisp/magit-refs.el +++ b/lisp/magit-refs.el @@ -431,7 +431,7 @@ menu this command always behaves like `magit-show-commit'." (interactive) (if (and (derived-mode-p 'magit-refs-mode) (magit-section-match '(branch tag)) - (magit-menu-position)) + (not (magit-menu-position))) (let ((ref (oref (magit-current-section) value))) (cond (current-prefix-arg (cond ((memq 'focus-on-ref magit-visit-ref-behavior)