From 077f1a85a4f0dbb2931aff133b35cf7e06466cbf Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 11 Jul 2025 11:08:10 +0100 Subject: [PATCH] ; vc-git-find-revision: Fix last change to this function. (cherry picked from commit 8ff6e7fe58466e413b5eed22ea93869e60da8d3d) --- lisp/vc/vc-git.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5