From 68159bc533ea545002760c281ecbb50c5e16f0d3 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 30 Nov 2008 01:44:33 +0000 Subject: [PATCH] (vc-git-diff): No need to duplicate vc-switches logic. --- lisp/vc-git.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/vc-git.el b/lisp/vc-git.el index f024144bb67..099c79a066f 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)