From: Sean Whitton Date: Fri, 11 Jul 2025 10:08:10 +0000 (+0100) Subject: ; vc-git-find-revision: Fix last change to this function. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=077f1a85a4f0dbb2931aff133b35cf7e06466cbf;p=emacs.git ; vc-git-find-revision: Fix last change to this function. (cherry picked from commit 8ff6e7fe58466e413b5eed22ea93869e60da8d3d) --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 08a3d79b39e..72b7cea174c 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1336,7 +1336,7 @@ It is based on `log-edit-mode', and has Git-specific extensions." (if (string= fn "") (file-relative-name file (vc-git-root default-directory)) (substring fn 0 -1))))) - (vc-git-command buffer 0 nil "cat-file" "--filters" "blob" + (vc-git-command buffer 0 nil "cat-file" "--filters" (concat (or rev "HEAD") ":" fullname)))) (defun vc-git-find-ignore-file (file)