From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19099: Diff options with vc-git Date: Tue, 18 Nov 2014 21:17:53 +0200 Message-ID: <83389g9v32.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1416338363 17581 80.91.229.3 (18 Nov 2014 19:19:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2014 19:19:23 +0000 (UTC) Cc: 19099@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 18 20:19:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XqoJ2-0006Fd-CW for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Nov 2014 20:19:16 +0100 Original-Received: from localhost ([::1]:54877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqoJ1-0004fz-Vh for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Nov 2014 14:19:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqoIu-0004fr-5d for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 14:19:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqoIo-0005As-Na for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 14:19:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqoIo-0005Ao-L4 for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 14:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XqoIo-00058f-AN for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 14:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Nov 2014 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19099 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19099-submit@debbugs.gnu.org id=B19099.141633828419656 (code B ref 19099); Tue, 18 Nov 2014 19:19:02 +0000 Original-Received: (at 19099) by debbugs.gnu.org; 18 Nov 2014 19:18:04 +0000 Original-Received: from localhost ([127.0.0.1]:37516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqoHr-00056x-OL for submit@debbugs.gnu.org; Tue, 18 Nov 2014 14:18:04 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44226) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqoHo-00056T-R3 for 19099@debbugs.gnu.org; Tue, 18 Nov 2014 14:18:02 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NF900H001J5IR00@a-mtaout20.012.net.il> for 19099@debbugs.gnu.org; Tue, 18 Nov 2014 21:17:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NF900HAR1LY2R70@a-mtaout20.012.net.il>; Tue, 18 Nov 2014 21:17:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96204 > From: Glenn Morris > Date: Tue, 18 Nov 2014 14:09:53 -0500 > > IIUC there's basically no way to get this with git diff, I have to use > > difftool -x "diff -c" > > (which seems to parse its -x argument on whitespace, yuck). > > So, TLDR: > > I'd like an option to call difftool instead of diff in vc-git-diff, please. > If it was consistent with eg vc-svn, this would happen by default when > vc-git-diff-switches was nil. You can make an alias as described here: http://stackoverflow.com/questions/3129514/how-to-make-git-diff-create-a-context-format-diff and then invoke that alias instead of "diff".