Mercurial > emacs
diff lisp/ChangeLog @ 109261:5f75bdff36e4
Fix vc-annotate for renamed files when using Git.
* lisp/vc-git.el (vc-git-find-revision): Deal with empty results from
ls-files. Doe not pass the object as a file name to cat-file, it
is not a file name.
(vc-git-annotate-command): Pass the file name using -- to avoid
ambiguity with the revision.
(vc-git-previous-revision): Pass a relative file name.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Tue, 22 Jun 2010 12:25:17 -0700 |
parents | 1df511d197fe |
children | 9df40307a957 |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Jun 22 00:37:07 2010 -0700 +++ b/lisp/ChangeLog Tue Jun 22 12:25:17 2010 -0700 @@ -1,3 +1,13 @@ +2010-06-22 Dan Nicolaescu <dann@ics.uci.edu> + + Fix vc-annotate for renamed files when using Git. + * vc-git.el (vc-git-find-revision): Deal with empty results from + ls-files. Doe not pass the object as a file name to cat-file, it + is not a file name. + (vc-git-annotate-command): Pass the file name using -- to avoid + ambiguity with the revision. + (vc-git-previous-revision): Pass a relative file name. + 2010-06-22 Glenn Morris <rgm@gnu.org> * progmodes/js.el (js-mode-map): Use standard capitalization and