* bug#1589: Possible fix
@ 2008-12-26 18:28 Eric Hanchrow
0 siblings, 0 replies; only message in thread
From: Eric Hanchrow @ 2008-12-26 18:28 UTC (permalink / raw)
To: 1589
The fix might be as simple as this. I'll use this for a while and see
how it goes.
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index efb59ac..bfcc5a9 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -375,7 +375,9 @@ If nil, use the value of `vc-diff-switches'. If
t, use no switches."
(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))))
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-26 18:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-26 18:28 bug#1589: Possible fix Eric Hanchrow
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.