(vc-git-annotate-command): Run asynchronously.
authorDan Nicolaescu <dann@ics.uci.edu>
Fri, 21 Aug 2009 03:37:33 +0000 (03:37 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Fri, 21 Aug 2009 03:37:33 +0000 (03:37 +0000)
Explicitly pass the date format to git blame so that user local
so that the output format can be parsed.

lisp/ChangeLog
lisp/vc-git.el

index 19d8c26..42465ef 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc-git.el (vc-git-annotate-command): Run asynchronously.
+       Explicitly pass the date format to git blame so that user local
+       so that the output format can be parsed.
+
 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/dbus.el (top): Don't check for (getenv
index 523def3..0d35afa 100644 (file)
@@ -553,7 +553,7 @@ or BRANCH^ (where \"^\" can be repeated)."
 
 (defun vc-git-annotate-command (file buf &optional rev)
   (let ((name (file-relative-name file)))
-    (vc-git-command buf 0 name "blame" rev)))
+    (vc-git-command buf 'async name "blame" "--date=iso" rev)))
 
 (declare-function vc-annotate-convert-time "vc-annotate" (time))