branch: externals/agitate commit d808406253356d48471ac1a0045f38097a9fabf1 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Edit vc-git-show (PROOF OF CONCEPT) --- agitate.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/agitate.el b/agitate.el index 951e5b7976..d0cd4edc15 100644 --- a/agitate.el +++ b/agitate.el @@ -254,10 +254,8 @@ With optional FILE, limit the commits to those pertinent to it." "Buffer for showing a git commit.") ;;;###autoload -(defun vc-git-find-revision () - "PROOF OF CONCEPT. - -Prompt for commit and visit it as a file." +(defun vc-git-show () + "PROOF OF CONCEPT." (interactive) (when-let* ((file (caadr (vc-deduce-fileset))) ; FIXME 2022-09-27: Better way to get current file? (revision (agitate--vc-git-get-hash-from-string