[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] new `tla changes --diffs' behavior
From: |
Michael Teichgräber |
Subject: |
Re: [Gnu-arch-users] new `tla changes --diffs' behavior |
Date: |
Mon, 16 Feb 2004 02:16:25 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) |
Miles Bader <address@hidden> writes:
> On Thu, Jan 29, 2004 at 10:44:45AM +1100, Robert Collins wrote:
>> > This is the way `diff' works too: by default it doesn't show whole-file
>> > changes, but you can do so using the following options:
>> >
>> > -N, --new-file Treat absent files as empty.
>> > -P, --unidirectional-new-file Treat absent first files as empty.
>>
>> If you want to sratch it, go ahead. But the default should be on IMO.
>> (Otherwise -N becomes an 'unbreak me please' option.)
>
> If the purpose of the output is interactive examination (which is the case
> the great majority of the time in my experience), seeing new file contents
> dumped is usually just (voluminous) noise -- at least for me, it's almost
> always enough to see the name of the new file.
>
> [and of course it's also `what diff does']
Perhaps `tla changes --diffs' (and file-diffs) could accept additional
options to be propagated to diff, similar to `cvs diff'. This way one
could specify -N or -P, but also -p or -w, which could be helpful for
reviewing changes too.
--
Michael
- Re: [Gnu-arch-users] new `tla changes --diffs' behavior,
Michael Teichgräber <=