branch: elpa/git-commit
commit 2039619696bafeeebff245e316af640c19d5cf1c
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-remote-at-point: For branch section check type of parent
---
 lisp/magit-git.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index dba75b6..8fbeab9 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -1394,7 +1394,7 @@ to, or to some other symbolic-ref that points to the same 
ref."
 (defun magit-remote-at-point ()
   (magit-section-case
     (remote (oref it value))
-    (branch (magit-section-parent-value it))))
+    ([branch remote] (magit-section-parent-value it))))
 
 (defun magit-module-at-point (&optional predicate)
   (when (magit-section-match 'magit-module-section)

Reply via email to