# HG changeset patch # User Glenn Morris # Date 1271385926 25200 # Node ID 09b4b2c3944d9629a922a0da9aeb8cc48dbbdce4 # Parent 54d5490c8e9467ca46071429f80c9f055a82bd60 Improve previous change. diff -r 54d5490c8e94 -r 09b4b2c3944d lisp/vc-git.el --- a/lisp/vc-git.el Thu Apr 15 19:39:22 2010 -0700 +++ b/lisp/vc-git.el Thu Apr 15 19:45:26 2010 -0700 @@ -413,6 +413,7 @@ (vc-git-command (current-buffer) 'async files "ls-files" "-z" "-o" "-i" "--directory" "--no-empty-directory" "--exclude-standard" "--")) + ;; --relative added in Git 1.5.5. (diff-index (vc-git-command (current-buffer) 'async files "diff-index" "--relative" "-z" "-M" "HEAD" "--"))) @@ -572,7 +573,8 @@ (defun vc-git-print-log (files buffer &optional shortlog start-revision limit) "Get change log associated with FILES. -Note that using SHORTLOG requires at least Git version 1.5." +Note that using SHORTLOG requires at least Git version 1.5.6, +for the --graph option." (let ((coding-system-for-read git-commits-coding-system)) ;; `vc-do-command' creates the buffer, but we need it before running ;; the command.