From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#23436: [PATCH] Attemp to use the true name of a file to determine responsible vc if the genuine name does not work. Date: Wed, 19 Oct 2016 16:49:15 -0700 Message-ID: <072a649f-d11a-7c82-b3ae-32d9a92c8f8b@topbug.net> References: <1462311145-5959-1-git-send-email-hong@topbug.net> <85f11f8a-1799-befd-3e5b-f7d7a6eac660@topbug.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u3FdlrT24CqiQ2PkneJ4qebMvGDP0D0ah" X-Trace: blaine.gmane.org 1476921030 7927 195.159.176.226 (19 Oct 2016 23:50:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2016 23:50:30 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 To: Dmitry Gutov , 23436@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 01:50:26 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bx0ce-0008B3-W3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2016 01:50:13 +0200 Original-Received: from localhost ([::1]:51620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bx0ch-0006v2-6I for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2016 19:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bx0cY-0006s5-7F for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2016 19:50:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bx0cU-00065N-VV for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2016 19:50:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bx0cU-00065F-Rn for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2016 19:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bx0cU-0006pt-HC for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2016 19:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2016 23:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23436 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 23436-submit@debbugs.gnu.org id=B23436.147692096526219 (code B ref 23436); Wed, 19 Oct 2016 23:50:02 +0000 Original-Received: (at 23436) by debbugs.gnu.org; 19 Oct 2016 23:49:25 +0000 Original-Received: from localhost ([127.0.0.1]:40155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bx0bs-0006op-VI for submit@debbugs.gnu.org; Wed, 19 Oct 2016 19:49:25 -0400 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bx0bs-0006oe-2m for 23436@debbugs.gnu.org; Wed, 19 Oct 2016 19:49:24 -0400 Original-Received: from [10.120.10.85] (guest-wireless-207-151-035-036.usc.edu [207.151.35.36]) by mx.zohomail.com with SMTPS id 1476920956948485.3812079842925; Wed, 19 Oct 2016 16:49:16 -0700 (PDT) In-Reply-To: X-Zoho-Virus-Status: 1 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" Xref: news.gmane.org gmane.emacs.bugs:124698 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --u3FdlrT24CqiQ2PkneJ4qebMvGDP0D0ah Content-Type: multipart/mixed; boundary="FkXAS1DAPCWTftcwero4n1HBxd4b5EgmN"; protected-headers="v1" From: Hong Xu To: Dmitry Gutov , 23436@debbugs.gnu.org Message-ID: <072a649f-d11a-7c82-b3ae-32d9a92c8f8b@topbug.net> Subject: Re: bug#23436: [PATCH] Attemp to use the true name of a file to determine responsible vc if the genuine name does not work. References: <1462311145-5959-1-git-send-email-hong@topbug.net> <85f11f8a-1799-befd-3e5b-f7d7a6eac660@topbug.net> In-Reply-To: --FkXAS1DAPCWTftcwero4n1HBxd4b5EgmN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/19/2016 04:37 PM, Dmitry Gutov wrote: > On 19.10.2016 22:33, Hong Xu wrote: >> + (dolist (file-path (list file (file-truename file))) >=20 > Why not just use the true name? Because sometimes we track symlinks specifically. The symlink files may link to a file in a different repo, for example a git submodule. --FkXAS1DAPCWTftcwero4n1HBxd4b5EgmN-- --u3FdlrT24CqiQ2PkneJ4qebMvGDP0D0ah Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYCAZ7AAoJECZsfTOCL4R4aSUP/2ZWSgaKf3eQs3UtMEkAWA8F kDLwQTO4T8yfAVpZjJ9/lv84GZ7OKrTxAmsdc388tyLP7UAPF1NukfqVP+8RGjzg wF+soR9PNGp5JlmmD4uNetO7Ea4t1kO1cShNhxGlXvHtzlu1IVSXBLNy4wu5kns+ JpEt/S+2+b7mxpyzy2qA5r4+GVuTrbLjF8R26PvDWa6ENIGYjS53rllSbgefvgm8 hXuEnfrMUrXoGpkXf023q4k1PC1UyQq496216Bneb7Juj2IuBEQ9jZKUUCquqiOK KSEr0TPg7thVmo4eb1d7T1QnPfb6/WwkesKPAnubOUwBV3UG3hz52WEy+vToH+yW XQP55V46lWh7tXvUxJIxsUFobo1KqltBQKgGt6Scv9FsDD3HFIFzifDcV/gX9RxU qBzv79AXBi4jq1rnW+3w+5zyNiKp558FkR2+2K+/VfVIfZbW9gxKVMADB2YTLvgf jKihe38ko9errg8UmijPQ/hhbhFWEcu45Y3tX0j9NA5I1hV6z4DuDFnEsmWiXkOl fkFAnz3QPzN9hvCNp2lxcF6w+lfTFOUm507NdhKvYDgUHbqXrVLdYLcpArKCubR4 OUT61TtHN4uyEPBwRz5CWgkYsTbxh8uIkox4yfTmbMGIiqD84JhQNKL4GMcbNEpN tWAcIEkd7LvFs6BjE+6N =mbsc -----END PGP SIGNATURE----- --u3FdlrT24CqiQ2PkneJ4qebMvGDP0D0ah--