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

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

[nongnu] elpa/git-commit 28f0c19: magit-log-maybe-update-blob-buffer: Fi


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 28f0c19: magit-log-maybe-update-blob-buffer: Fix regression
Date: Tue, 7 Dec 2021 10:58:03 -0500 (EST)

branch: elpa/git-commit
commit 28f0c1918723dd0bf3a7eb211993875077a739d5
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-log-maybe-update-blob-buffer: Fix regression
    
    In [1: 19ef14cc8] `magit-blob-visit' second argument was removed but
    the call in `magit-log-maybe-update-blob-buffer' was not adjusted
    accordingly.
    
    Closes #4552.
    
    1: 2019-05-01 19ef14cc81fdcc809e73851cf341e7e295110c84
       magit-blob-{previous,next}: Remove inferior location preservation
---
 lisp/magit-log.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/magit-log.el b/lisp/magit-log.el
index 3eeb877..bc99fa7 100644
--- a/lisp/magit-log.el
+++ b/lisp/magit-log.el
@@ -1440,8 +1440,7 @@ If there is no blob buffer in the same frame, then do 
nothing."
                  (save-excursion
                    (magit-blob-visit (list (magit-rev-parse rev)
                                            (magit-file-relative-name
-                                            magit-buffer-file-name))
-                                     (line-number-at-pos))))))))))))
+                                            magit-buffer-file-name)))))))))))))
 
 (defun magit-log-goto-commit-section (rev)
   (let ((abbrev (magit-rev-format "%h" rev)))



reply via email to

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