diff options
author | Glenn Morris <[email protected]> | 2008-11-30 01:44:33 +0000 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2008-11-30 01:44:33 +0000 |
commit | 68159bc533ea545002760c281ecbb50c5e16f0d3 (patch) | |
tree | 3aaf9a5694df015eec54fb4f829d439bf9d388b6 /lisp/vc-git.el | |
parent | 1e262c45664220c2cccf75d7b421edab11cab076 (diff) |
(vc-git-diff): No need to duplicate vc-switches logic.
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r-- | lisp/vc-git.el | 2 |
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) |