gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] new `tla changes --diffs' behavior


From: Miles Bader
Subject: [Gnu-arch-users] new `tla changes --diffs' behavior
Date: 29 Jan 2004 08:36:31 +0900

In Tom's latest version, `tla changes --diffs' outputs the entire
contents of new files as diffs.

While this is definitely a needed function, I don't think it should be
the default -- for making patches it's handy, but for interactively
seeing `hmm, what have I changed' it's very annoying (I can see that I
added a new file from the summary output, and the actual contents are
not usually an issue -- but I _do_ want to see diffs for _changed_
files).  In my usage, the `hmmm' case is by far the most common.

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.

So how about just adding these options to `tla changes' too?
[I can do so if nobody else want to.]

[BTW, another issue is: currently it shows new-file diffs even for added
patch-logs; should it do this, or maybe should it need a special option?]

Thanks,

-Miles
-- 
Freedom's just another word, for nothing left to lose   --Janis Joplin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]