emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit 2039619: magit-remote-at-point: For branch sect


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 2039619: magit-remote-at-point: For branch section check type of parent
Date: Wed, 1 Dec 2021 17:58:02 -0500 (EST)

branch: elpa/git-commit
commit 2039619696bafeeebff245e316af640c19d5cf1c
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@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

[Prev in Thread] Current Thread [Next in Thread]