aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc-git.el
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2008-11-30 01:44:33 +0000
committerGlenn Morris <[email protected]>2008-11-30 01:44:33 +0000
commit68159bc533ea545002760c281ecbb50c5e16f0d3 (patch)
tree3aaf9a5694df015eec54fb4f829d439bf9d388b6 /lisp/vc-git.el
parent1e262c45664220c2cccf75d7b421edab11cab076 (diff)
(vc-git-diff): No need to duplicate vc-switches logic.
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r--lisp/vc-git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index f024144bb6..099c79a066 100644
--- 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)