]> git.eshelyaron.com Git - emacs.git/commitdiff
vc-git-print-log: pass "--follow" to "log" to handle renamed files
authorSam Steingold <sds@gnu.org>
Tue, 15 Nov 2016 00:08:54 +0000 (19:08 -0500)
committerSam Steingold <sds@gnu.org>
Tue, 15 Nov 2016 00:13:44 +0000 (19:13 -0500)
lisp/vc/vc-git.el

index 43a831f159ff25afbc01317500a50a2da29601b9..6d451be268810d93cbabc33f32b8d6dea096c8cc 100644 (file)
@@ -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"