[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp vc-git.el
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs/lisp vc-git.el |
Date: |
Sun, 30 Nov 2008 01:44:33 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 08/11/30 01:44:33
Modified files:
lisp : vc-git.el
Log message:
(vc-git-diff): No need to duplicate vc-switches logic.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/vc-git.el?cvsroot=emacs&r1=1.75&r2=1.76
Patches:
Index: vc-git.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-git.el,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- vc-git.el 26 Nov 2008 02:55:28 -0000 1.75
+++ vc-git.el 30 Nov 2008 01:44:33 -0000 1.76
@@ -518,7 +518,7 @@
(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)