HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e262c4
)
(vc-git-diff): No need to duplicate vc-switches logic.
author
Glenn Morris
<rgm@gnu.org>
Sun, 30 Nov 2008 01:44:33 +0000
(
01:44
+0000)
committer
Glenn Morris
<rgm@gnu.org>
Sun, 30 Nov 2008 01:44:33 +0000
(
01:44
+0000)
lisp/vc-git.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/vc-git.el
b/lisp/vc-git.el
index
f024144
..
099c79a
100644
(file)
--- a/
lisp/vc-git.el
+++ b/
lisp/vc-git.el
@@
-518,7
+518,7
@@
or BRANCH^ (where \"^\" can be repeated)."
(apply #'vc-git-command (or buffer "*vc-diff*") 1 files
(if (and rev1 rev2) "diff-tree" "diff-index")
"--exit-code"
- (append (vc-switches
(if vc-git-diff-switches 'git)
'diff)
+ (append (vc-switches
'git
'diff)
(list "-p" (or rev1 "HEAD") rev2 "--"))))
(defun vc-git-revision-table (files)