diff options
| author | Glenn Morris | 2010-04-15 19:45:26 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-15 19:45:26 -0700 |
| commit | 10a311748b1d9e41577140ecfa947f2f53b74f1c (patch) | |
| tree | e3750604c41bb3e3568526f480f1e70297c0dabb /lisp | |
| parent | e9ef97770f2a53f6a1f48f0bddc89d4386b8e704 (diff) | |
| download | emacs-10a311748b1d9e41577140ecfa947f2f53b74f1c.tar.gz emacs-10a311748b1d9e41577140ecfa947f2f53b74f1c.zip | |
Improve previous change.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/vc-git.el | 4 |
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." | |||
| 413 | (vc-git-command (current-buffer) 'async files | 413 | (vc-git-command (current-buffer) 'async files |
| 414 | "ls-files" "-z" "-o" "-i" "--directory" | 414 | "ls-files" "-z" "-o" "-i" "--directory" |
| 415 | "--no-empty-directory" "--exclude-standard" "--")) | 415 | "--no-empty-directory" "--exclude-standard" "--")) |
| 416 | ;; --relative added in Git 1.5.5. | ||
| 416 | (diff-index | 417 | (diff-index |
| 417 | (vc-git-command (current-buffer) 'async files | 418 | (vc-git-command (current-buffer) 'async files |
| 418 | "diff-index" "--relative" "-z" "-M" "HEAD" "--"))) | 419 | "diff-index" "--relative" "-z" "-M" "HEAD" "--"))) |
| @@ -572,7 +573,8 @@ or an empty string if none." | |||
| 572 | 573 | ||
| 573 | (defun vc-git-print-log (files buffer &optional shortlog start-revision limit) | 574 | (defun vc-git-print-log (files buffer &optional shortlog start-revision limit) |
| 574 | "Get change log associated with FILES. | 575 | "Get change log associated with FILES. |
| 575 | Note that using SHORTLOG requires at least Git version 1.5." | 576 | Note that using SHORTLOG requires at least Git version 1.5.6, |
| 577 | for the --graph option." | ||
| 576 | (let ((coding-system-for-read git-commits-coding-system)) | 578 | (let ((coding-system-for-read git-commits-coding-system)) |
| 577 | ;; `vc-do-command' creates the buffer, but we need it before running | 579 | ;; `vc-do-command' creates the buffer, but we need it before running |
| 578 | ;; the command. | 580 | ;; the command. |