emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 39f0543 1/2: vc-git-print-log: pass "--follow" to "


From: Sam Steingold
Subject: [Emacs-diffs] master 39f0543 1/2: vc-git-print-log: pass "--follow" to "log" to handle renamed files
Date: Tue, 15 Nov 2016 00:13:49 +0000 (UTC)

branch: master
commit 39f0543ca18142f318a1c90f100632c49a000a1c
Author: Sam Steingold <address@hidden>
Commit: Sam Steingold <address@hidden>

    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 43a831f..6d451be 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]