From: Sam Steingold Date: Tue, 15 Nov 2016 00:08:54 +0000 (-0500) Subject: vc-git-print-log: pass "--follow" to "log" to handle renamed files X-Git-Tag: emacs-26.0.90~1329 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=39f0543ca18142f318a1c90f100632c49a000a1c;p=emacs.git vc-git-print-log: pass "--follow" to "log" to handle renamed files --- 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"