From 39f0543ca18142f318a1c90f100632c49a000a1c Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Mon, 14 Nov 2016 19:08:54 -0500 Subject: [PATCH] vc-git-print-log: pass "--follow" to "log" to handle renamed files --- 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 43a831f159f..6d451be2688 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -905,7 +905,7 @@ If LIMIT is non-nil, show no more than this many entries." (apply 'vc-git-command buffer 'async files (append - '("log" "--no-color") + '("log" "--no-color" "--follow") (when shortlog `("--graph" "--decorate" "--date=short" ,(format "--pretty=tformat:%s" -- 2.39.5