[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1589: Possible fix

From: Eric Hanchrow
Subject: bug#1589: Possible fix
Date: Fri, 26 Dec 2008 10:28:55 -0800

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" "--"))
-     (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-git-after-dir-status-stage (quote ,stage) (quote ,files)
(quote ,update-function))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]