[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-diffutils] Re: New diff options/features
From: |
Andreas Schwab |
Subject: |
[bug-diffutils] Re: New diff options/features |
Date: |
Sat, 02 Oct 2010 12:05:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Duncan Moore <address@hidden> writes:
> On 26/09/2010 21:07, Paul Eggert wrote:
>> On 09/26/2010 07:56 AM, Duncan Moore wrote:
>>> 2) --if-different
>>> File contents are assumed identical if the files have the same size
>>> and timestamp.
>> This makes sense, but the option name is poorly chosen. How about
>> --assume-same?
>
> I was unhappy with the name too. I think --assume-same is better, but it
> doesn't convey the fact that it is conditional (on the timestamp and size
> being the same). But I'm happy to go with it, unless someone thinks of
> something better.
How about --compare-attributes=size,mtime?
--compare-attributes=ATTRS
Compare file attributes ATTRS and assume two files are identical
if those attributes match, disregarding the actual file contents.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- [bug-diffutils] Re: New diff options/features,
Andreas Schwab <=