X-Loop: help-debbugs@HIDDEN Subject: bug#20279: With -r, option to avoid duplicate differences due to relative symbolic links Resent-From: Vincent Lefevre <vincent@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-diffutils@HIDDEN Resent-Date: Wed, 08 Apr 2015 09:47:01 +0000 Resent-Message-ID: <handler.20279.B.14284863771769 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 20279 X-GNU-PR-Package: diffutils X-GNU-PR-Keywords: To: 20279 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-diffutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14284863771769 (code B ref -1); Wed, 08 Apr 2015 09:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Apr 2015 09:46:17 +0000 Received: from localhost ([127.0.0.1]:48795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YfmYr-0000SS-Fb for submit <at> debbugs.gnu.org; Wed, 08 Apr 2015 05:46:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48366) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <vincent@HIDDEN>) id 1YfmYp-0000SF-BV for submit <at> debbugs.gnu.org; Wed, 08 Apr 2015 05:46:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1YfmYj-0004s6-7F for submit <at> debbugs.gnu.org; Wed, 08 Apr 2015 05:46:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1YfmYj-0004s2-3v for submit <at> debbugs.gnu.org; Wed, 08 Apr 2015 05:46:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1YfmYi-0004Q6-0Y for bug-diffutils@HIDDEN; Wed, 08 Apr 2015 05:46:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1YfmYc-0004qu-Rr for bug-diffutils@HIDDEN; Wed, 08 Apr 2015 05:46:07 -0400 Received: from ioooi.vinc17.net ([92.243.22.117]:33302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1YfmYc-0004op-Kx for bug-diffutils@HIDDEN; Wed, 08 Apr 2015 05:46:02 -0400 Received: from smtp-xvii.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by ioooi.vinc17.net (Postfix) with ESMTPSA id 995B2423; Wed, 8 Apr 2015 11:45:54 +0200 (CEST) Received: by xvii.vinc17.org (Postfix, from userid 1000) id 58FA121A07B; Wed, 8 Apr 2015 11:45:51 +0200 (CEST) Date: Wed, 8 Apr 2015 11:45:51 +0200 From: Vincent Lefevre <vincent@HIDDEN> Message-ID: <20150408094551.GI5205@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.23-6425-vl-r76280 (2015-03-04) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) When using "diff -r", an additional option to avoid duplicate differences due to symbolic links would be useful. For instance, in directories "a" and "b" to be diff'ed, one may have: file symlink -> file If "file" changes in directory "a", then "diff -r a b" will report a difference for "file", but also for "symlink" as a consequence. This is a bit annoying when reviewing a diff output. An option, possibly named --ignore-identical-links, could be added to detect something like that, e.g. in the following way: 1. Detect whether the object to be diff'ed in directories "a" and "b" are both symbolic links with the same link value. 2. [Optional] If (1) is satisfied, also detect whether the value is a relative symbolic link that is local to the directory. If (1) is satisfied (and optionally (2)), then do not attempt to diff the objects. In practice, just doing (1) would be OK for me. Note: I can't use --no-dereference because I still want to be able to compare objects where one is a symbolic link and the other one is a regular file or a directory. --=20 Vincent Lef=E8vre <vincent@HIDDEN> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Vincent Lefevre <vincent@HIDDEN> Subject: bug#20279: Acknowledgement (With -r, option to avoid duplicate differences due to relative symbolic links) Message-ID: <handler.20279.B.14284863771769.ack <at> debbugs.gnu.org> References: <20150408094551.GI5205@HIDDEN> X-Gnu-PR-Message: ack 20279 X-Gnu-PR-Package: diffutils Reply-To: 20279 <at> debbugs.gnu.org Date: Wed, 08 Apr 2015 09:47:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-diffutils@HIDDEN If you wish to submit further information on this problem, please send it to 20279 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 20279: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20279 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.