Mercurial > emacs
diff lisp/vc-git.el @ 106983:36d87e3f3cc3
(vc-git-dir-status-goto-stage): Pass --relative to the
diff-index command. This requires at least git-1.5.5. (Bug#1589).
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 24 Jan 2010 20:46:40 -0800 |
parents | 1c559638a806 |
children | 8bc19ba3da90 |
line wrap: on
line diff
--- a/lisp/vc-git.el Sun Jan 24 21:52:03 2010 -0500 +++ b/lisp/vc-git.el Sun Jan 24 20:46:40 2010 -0800 @@ -381,7 +381,7 @@ (vc-git-command (current-buffer) 'async files "ls-files" "-z" "-o" "-i" "--directory" "--no-empty-directory" "--exclude-standard" "--")) ('diff-index - (vc-git-command (current-buffer) 'async files "diff-index" "-z" "-M" "HEAD" "--"))) + (vc-git-command (current-buffer) 'async files "diff-index" "--relative" "-z" "-M" "HEAD" "--"))) (vc-exec-after `(vc-git-after-dir-status-stage (quote ,stage) (quote ,files) (quote ,update-function))))