From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.bugs Subject: bug#23075: 24.5; vc-git-command should use coding-system-for-read Date: Mon, 21 Mar 2016 14:22:36 +0300 Message-ID: <56EFD97C.3080805@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1458559507 29880 80.91.229.3 (21 Mar 2016 11:25:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2016 11:25:07 +0000 (UTC) To: 23075@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 21 12:24:56 2016 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 1ahxx9-0003VW-Fs for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Mar 2016 12:24:55 +0100 Original-Received: from localhost ([::1]:57068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahxx8-0001V8-R2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Mar 2016 07:24:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahxwO-0000PI-6p for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 07:24:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahxwI-0004He-LC for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 07:24:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahxwI-0004Ha-HV for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 07:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ahxwI-0008Kl-Cf for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 07:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nikolay Kudryavtsev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2016 11:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23075 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145855938531966 (code B ref -1); Mon, 21 Mar 2016 11:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Mar 2016 11:23:05 +0000 Original-Received: from localhost ([127.0.0.1]:56268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahxvN-0008JW-2u for submit@debbugs.gnu.org; Mon, 21 Mar 2016 07:23:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahxvM-0008In-15 for submit@debbugs.gnu.org; Mon, 21 Mar 2016 07:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahxvG-00049H-4X for submit@debbugs.gnu.org; Mon, 21 Mar 2016 07:22:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahxvG-00049D-1X for submit@debbugs.gnu.org; Mon, 21 Mar 2016 07:22:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahxvF-00007s-38 for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 07:22:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahxvB-000490-UK for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 07:22:57 -0400 Original-Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:34820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahxvB-00048w-MM for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2016 07:22:53 -0400 Original-Received: by mail-lb0-x22d.google.com with SMTP id bc4so124417369lbc.2 for ; Mon, 21 Mar 2016 04:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=OA0vKErZnsWjt6odJlcaK6TeoG9o4ReyB8tgxfojsMI=; b=Fon+smByMMNF/KjvEAjh79gZq06fKG19+F18pFmY7GsmiH+7Jx3q1ygazSZiLzZoQF TxT2T1+/hfXjadxgAu0iv9lKMynJBHLYT10eZ8CqNKQ4QwxMRMFbQ9ufuTWarNSpKVZ7 UpU94ckycksUxv6GZ5FMRFGIAIsuFPWIPKfbS8oANuSOR8PljYWDehaA9iBzbUzpCuSG TaeUGuHfgrxWc/z6PVdzh5fFAXORhnS2yfoHPZInD1cSl41A3NFDFsL1UwyKOkz490qG 1qf4yEJH5CWj1Yn1sg+GP11q7c79d11ZWAr/y/vsc0Z8+vqqE9ktFxWiWGsMF+LzR+Zn GdPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=OA0vKErZnsWjt6odJlcaK6TeoG9o4ReyB8tgxfojsMI=; b=UZ7MNCO23lxR3yujE4PIBrD+PqcUwNEpwcRRyPQxrbuNXm8FyCiE8xXU4z22dRJ2lO to2By3Bdj7u2/ceQvE+q5sldAaGQp6+NQL/2D/tvp9lINekYwfmvuxpwWikB95/n+7Rk tyhIffSwlL6UXOiG96iAjSoT5uMkvF+a9jIopaE1PQvmMp6PiLz2bcMDhYvF+2P+2LQi fVI0Z1UqA8VipljSMwaZkrOYRdhSqoi5in8uc4mVekkYZ5QLrp17SXW408GgX72Sa96f uCpu20bWAjIZNFT12akC5JH9n+mpLLDgd1s04MTPYm10wVXuSYs99hXCS/aFmxMVZ4w8 GNKw== X-Gm-Message-State: AD7BkJKZ+QrlWmmne5arTdShQc0auwELLG7ETtuMfTgTIVrqyczZSVA/W80P0NVsBFnJEQ== X-Received: by 10.112.12.98 with SMTP id x2mr10867988lbb.76.1458559372503; Mon, 21 Mar 2016 04:22:52 -0700 (PDT) Original-Received: from [192.168.199.2] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by smtp.gmail.com with ESMTPSA id iy8sm4248710lbc.20.2016.03.21.04.22.51 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Mar 2016 04:22:51 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:115218 Archived-At: If you have files in your repositories, that are in different coding system from vc-git-commits-coding-system, vc-diff would still show diffs for them in vc-git-commits-coding-system. This is unnecessary, since vc-diff-internal already decides what coding system to use based on the first file and then sets coding-system-for-read accordingly. The fix is to change vc-git-command to use coding-system-for-read whenever it's bound. -- Best Regards, Nikolay Kudryavtsev