Fix vc-annotate for renamed files when using Git.
authorDan Nicolaescu <dann@ics.uci.edu>
Tue, 22 Jun 2010 19:25:17 +0000 (12:25 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Tue, 22 Jun 2010 19:25:17 +0000 (12:25 -0700)
commit50d76a9f7dbc5302373243f2d7588bd5abd0d492
treea13a72886574a3a73a4547dc596499bb5d3363ff
parent75468d7124fa2a9aeb8920ce7dc8954bbd062115
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.
lisp/ChangeLog
lisp/vc-git.el