branch: externals/agitate
commit 5fbe6e3f85889fea829fd390f4a6f12b1a82ffba
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Always go to point-min in agitate-vc-git-show
---
 agitate.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/agitate.el b/agitate.el
index 4ccabeb357..39de35dc02 100644
--- a/agitate.el
+++ b/agitate.el
@@ -328,7 +328,8 @@ The number of completion candidates is limited to the value 
of
     ;; TODO 2022-09-27: What else do we need to set up in such a
     ;; buffer?
     (with-current-buffer (pop-to-buffer buf)
-      (diff-mode))))
+      (diff-mode)
+      (goto-char (point-min)))))
 
 (defun agitate--vc-git-format-patch-single-commit ()
   "Help `agitate-vc-git-format-patch-single' with its COMMIT."

Reply via email to