GNU logs - #20250, boring messages


Message sent to bug-diffutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20250: diff by size
Resent-From: Andreas <wiisses@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-diffutils@HIDDEN
Resent-Date: Fri, 03 Apr 2015 14:56:02 +0000
Resent-Message-ID: <handler.20250.B.142807291314059 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 20250
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 20250 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-diffutils@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.142807291314059
          (code B ref -1); Fri, 03 Apr 2015 14:56:02 +0000
Received: (at submit) by debbugs.gnu.org; 3 Apr 2015 14:55:13 +0000
Received: from localhost ([127.0.0.1]:44098 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ye304-0003eg-AJ
	for submit <at> debbugs.gnu.org; Fri, 03 Apr 2015 10:55:13 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48544)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <wiisses@HIDDEN>) id 1Ye1Wr-0001Ji-8s
 for submit <at> debbugs.gnu.org; Fri, 03 Apr 2015 09:20:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wiisses@HIDDEN>) id 1Ye1Wi-0006IK-99
 for submit <at> debbugs.gnu.org; Fri, 03 Apr 2015 09:20:51 -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.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57868)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wiisses@HIDDEN>) id 1Ye1Wi-0006IG-6y
 for submit <at> debbugs.gnu.org; Fri, 03 Apr 2015 09:20:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50244)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wiisses@HIDDEN>) id 1Ye1Wh-0007nm-AF
 for bug-diffutils@HIDDEN; Fri, 03 Apr 2015 09:20:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wiisses@HIDDEN>) id 1Ye1Wd-0006Fs-9c
 for bug-diffutils@HIDDEN; Fri, 03 Apr 2015 09:20:47 -0400
Received: from mout.web.de ([212.227.17.11]:65108)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wiisses@HIDDEN>) id 1Ye1Wc-0006ER-W7
 for bug-diffutils@HIDDEN; Fri, 03 Apr 2015 09:20:43 -0400
Received: from [192.168.2.105] ([84.173.17.139]) by smtp.web.de (mrweb101)
 with ESMTPSA (Nemesis) id 0LgpVS-1ZFqud0mrW-00oGfW for
 <bug-diffutils@HIDDEN>; Fri, 03 Apr 2015 15:20:41 +0200
Message-ID: <551E93A8.6020603@HIDDEN>
Date: Fri, 03 Apr 2015 15:20:40 +0200
From: Andreas <wiisses@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux i686;
 rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:W/NvUxO4fovJIMxEJwCFEobLg66rrqCyxPpxaiU1hkxJGtT/vxn
 XHIZI+KsfWJsmPSR/IOmsu/CyJcPLFpvmfWukbG1WXVG+REiNWeymlq61zOmaukBkX3EvYe
 7MyDoew/uGBoQiS7tfSOmKW+CJd28V8lsJgAEUUdaWSrN0u/HV6ob2IQIeU8TLYQKoQdMPs
 5+pjDYsODurKTxZpbEJRg==
X-UI-Out-Filterresults: notjunk:1;
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic]
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: -4.1 (----)
X-Mailman-Approved-At: Fri, 03 Apr 2015 10:55:10 -0400
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: -4.1 (----)

Dear diff-team,

this is not a bug but an idea for a diff option in further versions:

Idea:
comparison of two files by size only.

why?
makes comparison extremely fast; often no need to compare file contents
to get a first hint whether there is a difference at all

example:
- uploading a folder with a bunch of files to a slow motion cloud;
comparing each file by contents is very time consuming (...slow motion
cloud)
- as a first hint to find out about a possible difference could be the
comparison of file size for each file uploaded with the local ones


Thanks in advance for integrating this option in future diff versions.

Great tool, great diff team!
Andreas Schirra
wiisses@HIDDEN







Message sent:


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: Andreas <wiisses@HIDDEN>
Subject: bug#20250: Acknowledgement (diff by size)
Message-ID: <handler.20250.B.142807291314059.ack <at> debbugs.gnu.org>
References: <551E93A8.6020603@HIDDEN>
X-Gnu-PR-Message: ack 20250
X-Gnu-PR-Package: diffutils
Reply-To: 20250 <at> debbugs.gnu.org
Date: Fri, 03 Apr 2015 14:56: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 20250 <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
20250: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20250
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-diffutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20250: [bug-diffutils] bug#20250: diff by size
Resent-From: Dave Gordon <david.s.gordon@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-diffutils@HIDDEN
Resent-Date: Tue, 07 Apr 2015 15:04:02 +0000
Resent-Message-ID: <handler.20250.B20250.142841902815622 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20250
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: Andreas <wiisses@HIDDEN>, 20250 <at> debbugs.gnu.org
Received: via spool by 20250-submit <at> debbugs.gnu.org id=B20250.142841902815622
          (code B ref 20250); Tue, 07 Apr 2015 15:04:02 +0000
Received: (at 20250) by debbugs.gnu.org; 7 Apr 2015 15:03:48 +0000
Received: from localhost ([127.0.0.1]:47838 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YfV2V-00043n-0t
	for submit <at> debbugs.gnu.org; Tue, 07 Apr 2015 11:03:48 -0400
Received: from mga09.intel.com ([134.134.136.24]:53418)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <david.s.gordon@HIDDEN>) id 1YfV2O-00042z-Mg
 for 20250 <at> debbugs.gnu.org; Tue, 07 Apr 2015 11:03:41 -0400
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
 by orsmga102.jf.intel.com with ESMTP; 07 Apr 2015 08:03:02 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.11,538,1422950400"; d="scan'208";a="704710121"
Received: from dsgordon-linux.isw.intel.com (HELO [10.102.226.149])
 ([10.102.226.149])
 by fmsmga002.fm.intel.com with ESMTP; 07 Apr 2015 08:03:02 -0700
Message-ID: <5523F1A5.1050607@HIDDEN>
Date: Tue, 07 Apr 2015 16:03:01 +0100
From: Dave Gordon <david.s.gordon@HIDDEN>
Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way,
 Swindon SN3 1RJ
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
References: <551E93A8.6020603@HIDDEN>
In-Reply-To: <551E93A8.6020603@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
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 (-----)

On 03/04/15 14:20, Andreas wrote:
> Dear diff-team,
> 
> this is not a bug but an idea for a diff option in further versions:
> 
> Idea:
> comparison of two files by size only.
> 
> why?
> makes comparison extremely fast; often no need to compare file contents
> to get a first hint whether there is a difference at all
> 
> example:
> - uploading a folder with a bunch of files to a slow motion cloud;
> comparing each file by contents is very time consuming (...slow motion
> cloud)
> - as a first hint to find out about a possible difference could be the
> comparison of file size for each file uploaded with the local ones
> 
> Thanks in advance for integrating this option in future diff versions.
> 
> Great tool, great diff team!
> Andreas Schirra
> wiisses@HIDDEN

It probably doesn't belong in diff(1), but maybe in cmp(1)? For example,
it might be a meaningful semantic for the case of "cmp -n 0", which
currently always says "equal" (-n 0 means compare at most 0 bytes), or
some other variation that isn't currently meaningful, such as "cmp -n -1
<FILE1> <FILE2>" ?

OTOH, you can easily get and compare filesizes in a script already,
for example using "stat --printf=%s <FILE>", and for the case of
synchronising with a slow remote backup, rsync(1) already incorporates
lots of clever ways to reduce the bandwidth of the remote traffic,
including using just the filesize and datestamp to check for (mis-)matches.

.Dave.




Message sent to bug-diffutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20250: [bug-diffutils] bug#20250: diff by size
Resent-From: Jim Meyering <jim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-diffutils@HIDDEN
Resent-Date: Mon, 09 May 2016 04:37:02 +0000
Resent-Message-ID: <handler.20250.B20250.14627686039042 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20250
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: Andreas <wiisses@HIDDEN>
Cc: 20250 <at> debbugs.gnu.org
Received: via spool by 20250-submit <at> debbugs.gnu.org id=B20250.14627686039042
          (code B ref 20250); Mon, 09 May 2016 04:37:02 +0000
Received: (at 20250) by debbugs.gnu.org; 9 May 2016 04:36:43 +0000
Received: from localhost ([127.0.0.1]:43686 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1azcvz-0002Lj-2c
	for submit <at> debbugs.gnu.org; Mon, 09 May 2016 00:36:43 -0400
Received: from mail-oi0-f67.google.com ([209.85.218.67]:33732)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <meyering@HIDDEN>) id 1azcvx-0002LW-2W
 for 20250 <at> debbugs.gnu.org; Mon, 09 May 2016 00:36:41 -0400
Received: by mail-oi0-f67.google.com with SMTP id f63so25714992oig.0
 for <20250 <at> debbugs.gnu.org>; Sun, 08 May 2016 21:36:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc;
 bh=mYla1f0vay0HsRIExSib9FBwIWbCmDLT10trBgSsK7g=;
 b=A4tAdG+DEIf9FfMz0RplE9B+qGaD2iiYjddW9UtngO1KqYYyU06rQlwwDGiHfObLpu
 pTrJf9T5lXdOHjc/0uu9xRlC5H28tHcuv4FYWnG2tf+d87ubPk16gFONQyjcJrvKTFfB
 W35kd6avAUngwFmFFEOz6lgBGQzRAoWnbJo1nuBAr43ze/fkQUi3z0V1LAFrMRHctqr9
 6ikrRHLdDuTIk4mLHDepiIUlsaCaaDKg0o1HoRW5ijifJSqWBF8pcOALsQoaZOya16DG
 03z5D8hUCTrJGdx11xWVIFPGT+sgrUKh3fSHPAuWttEdz70zv1A+Bu1LBsUioURIhAGX
 eBrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc;
 bh=mYla1f0vay0HsRIExSib9FBwIWbCmDLT10trBgSsK7g=;
 b=b8wgkWhuSYSQIBKszz0I0qGFa97G21RQSjs+W/G8UGx8h5t9JajqqUzkMbWfkdpBAF
 ZNIYWAbpQQwHe22hJrsppf74wsUKEBH4qh3ZW9jmA9aSHC6NlIBVmByLyoIwxUf2eX/6
 Mzq1JfcBeJC/egwbMJZkjXNfCM5smIhK7ZxymT0p7y2QLKUz/oolohT8l2ji62pyh1GM
 GlfMt0PUpGYd6560VCU3Gr9HBYEND86pY01H7SWQ9LnXheX1BzBVexE0QWkyInzR/hIZ
 LN9QE/Tiq6LisF9njPMWDX2yVOIkIgA5smAp7AXwia+wVcohxR/a6mXE/55k6li+r0Nu
 iiJw==
X-Gm-Message-State: AOPr4FVTiS4U8kXx99HZUoczZ+H5HNsekOhuZgPjz2IHB4R1tX6BcNlHg3gPwVhB3SAFIusVQEjcgzMmnMwUcA==
X-Received: by 10.157.1.120 with SMTP id 111mr13496892otu.172.1462768595388;
 Sun, 08 May 2016 21:36:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.175.193 with HTTP; Sun, 8 May 2016 21:36:15 -0700 (PDT)
In-Reply-To: <551E93A8.6020603@HIDDEN>
References: <551E93A8.6020603@HIDDEN>
From: Jim Meyering <jim@HIDDEN>
Date: Sun, 8 May 2016 21:36:15 -0700
X-Google-Sender-Auth: t5-bpn1inVf7yO721_1Ii1pQ7e4
Message-ID: <CA+8g5KFHv5MKqiCsoH=cH66mQpz1=0AC3-Z67ps7wG1zO1rWGw@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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: -0.5 (/)

tags 20250 notabug
close 20250
done

On Fri, Apr 3, 2015 at 6:20 AM, Andreas <wiisses@HIDDEN> wrote:
> Dear diff-team,
>
> this is not a bug but an idea for a diff option in further versions:
>
> Idea:
> comparison of two files by size only.
>
> why?
> makes comparison extremely fast; often no need to compare file contents
> to get a first hint whether there is a difference at all
>
> example:
> - uploading a folder with a bunch of files to a slow motion cloud;
> comparing each file by contents is very time consuming (...slow motion
> cloud)
> - as a first hint to find out about a possible difference could be the
> comparison of file size for each file uploaded with the local ones

Thanks for the suggestion, but diff already performs the optimization,
when possible, of detecting when two files have different sizes,
and in that case does not even bother to open
(much less read/compare) them.

If you want to simply compare file sizes, you can already
write a tiny shell/perl/python script to obtain and compare
those numbers, so I'm closing this auto-created "issue".
You're welcome to continue the discussion, which is being
archived at http://bugs.gnu.org/20250




Message sent to bug-diffutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20250: [bug-diffutils] bug#20250: diff by size
Resent-From: Jim Meyering <jim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-diffutils@HIDDEN
Resent-Date: Mon, 09 May 2016 15:40:01 +0000
Resent-Message-ID: <handler.20250.B20250.146280837919259 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20250
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: Andreas <wiisses@HIDDEN>
Cc: 20250 <at> debbugs.gnu.org
Received: via spool by 20250-submit <at> debbugs.gnu.org id=B20250.146280837919259
          (code B ref 20250); Mon, 09 May 2016 15:40:01 +0000
Received: (at 20250) by debbugs.gnu.org; 9 May 2016 15:39:39 +0000
Received: from localhost ([127.0.0.1]:44518 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aznHX-00050Z-0x
	for submit <at> debbugs.gnu.org; Mon, 09 May 2016 11:39:39 -0400
Received: from mail-oi0-f47.google.com ([209.85.218.47]:32769)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <meyering@HIDDEN>) id 1aznHU-00050I-Lg
 for 20250 <at> debbugs.gnu.org; Mon, 09 May 2016 11:39:37 -0400
Received: by mail-oi0-f47.google.com with SMTP id v145so214336315oie.0
 for <20250 <at> debbugs.gnu.org>; Mon, 09 May 2016 08:39:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc;
 bh=4uPsKaCHW3A31MT6s9g8Caa0Un7QEyDh5DoRT0+i+uo=;
 b=jDBZBGpONYQi+BgZ49a+Hkn0FQm7xvRPZwc3dfZWoetBSL+V3Q4jmJtmhZYTHeR9Ux
 Ct7XGDzM66JN8F2IDTZy4zr2RXRh2AVrXSfRuNltNB6fjTzNJl4WgCQY8/+wyPFp77Ud
 hJQoItwEICm/Df4vL8qgK969L6kH2ji64jWo7FZuMzQxDiHL7YMNuO3MGzThGX7v9HIq
 oIlNi2BhAllIo8a+xnFTrSdrOOo+UuuoT5xvNsyhZvr6VhoSM27jZ7yFhiMLrNAWrDkY
 d5zJ6xYskeAYd9FJjkhTel6Y+FSwLXR0sWtozQq0TXs7MornDUpCa2dCnxMv1VtPJDcv
 gfGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc;
 bh=4uPsKaCHW3A31MT6s9g8Caa0Un7QEyDh5DoRT0+i+uo=;
 b=GRtS45BjGcFcmFC89WEbO7EuK8VpeWcZFYmpLZGYSZG590UOlPE2IXGZ9R1ZhD3Xtu
 HNnfu1IQRp9OAVH6An74PX0tEdT2F2GyQjCpCRzIXtMkqT67hxJdeOzQ8CmureGPs9d7
 eSZtqFuEth2vKFKsnUBx0gNA4s10pxb/3T24leSMac1lh1cu3kXC66aPgZTNy9ZVyVM6
 oiA7WeunuLnu3xUbajEo3ThERYcNSR2Ji3iE4aFwYTZH5RBCVfSxhpULVGmVucla74PR
 UXYteWh4te954aZRbct70gvjHvocwo36dbGdpmASwXx8boZ3Fl0ifO1YdV6akPdi5/WE
 0U7Q==
X-Gm-Message-State: AOPr4FWsHFeYtGKwuQZ3lZuz3x8wl5arq+XhQ8BXDc+Wgpc/NpSIEvk67b+1VAUEkpvPjFoy7DtebLZxj6n9bw==
X-Received: by 10.157.1.120 with SMTP id 111mr465425otu.172.1462808370909;
 Mon, 09 May 2016 08:39:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.175.193 with HTTP; Mon, 9 May 2016 08:39:10 -0700 (PDT)
In-Reply-To: <CA+8g5KFHv5MKqiCsoH=cH66mQpz1=0AC3-Z67ps7wG1zO1rWGw@HIDDEN>
References: <551E93A8.6020603@HIDDEN>
 <CA+8g5KFHv5MKqiCsoH=cH66mQpz1=0AC3-Z67ps7wG1zO1rWGw@HIDDEN>
From: Jim Meyering <jim@HIDDEN>
Date: Mon, 9 May 2016 08:39:10 -0700
X-Google-Sender-Auth: GTpw5UctMbYnv9yyeH_0C3kPDjo
Message-ID: <CA+8g5KGgk2KkmQ8Jzyoow3nE4m6FE6VgQgzcAL0Zi0gq=dEjLQ@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.4 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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: -0.4 (/)

On Sun, May 8, 2016 at 9:36 PM, Jim Meyering <jim@HIDDEN> wrote:
> tags 20250 notabug
> close 20250
> done
>
> On Fri, Apr 3, 2015 at 6:20 AM, Andreas <wiisses@HIDDEN> wrote:
>> Dear diff-team,
>>
>> this is not a bug but an idea for a diff option in further versions:
>>
>> Idea:
>> comparison of two files by size only.
>>
>> why?
>> makes comparison extremely fast; often no need to compare file contents
>> to get a first hint whether there is a difference at all
>>
>> example:
>> - uploading a folder with a bunch of files to a slow motion cloud;
>> comparing each file by contents is very time consuming (...slow motion
>> cloud)
>> - as a first hint to find out about a possible difference could be the
>> comparison of file size for each file uploaded with the local ones
>
> Thanks for the suggestion, but diff already performs the optimization,
> when possible, of detecting when two files have different sizes,
> and in that case does not even bother to open
> (much less read/compare) them.

To clarify: the above is what happens when you use the --brief (-q) option.
It is obviously not the default.





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.