summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-04-15 19:45:26 -0700
committerGlenn Morris <rgm@gnu.org>2010-04-15 19:45:26 -0700
commit10a311748b1d9e41577140ecfa947f2f53b74f1c (patch)
treee3750604c41bb3e3568526f480f1e70297c0dabb
parente9ef97770f2a53f6a1f48f0bddc89d4386b8e704 (diff)
downloademacs-10a311748b1d9e41577140ecfa947f2f53b74f1c.tar.gz
Improve previous change.
-rw-r--r--lisp/vc-git.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index b86e132dc8f..dec54796c5b 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -413,6 +413,7 @@ or an empty string if none."
(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 @@ or an empty string if none."
(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.