On Sun, Jul 23, 2006 at 11:20:13AM +0200, martin f krafft wrote: > Package: diffstat > Version: 1.41-1 > Severity: wishlist > > A line like > > diff -Nru a/foo b/foo > > without a diff that follows in the input will result in > > foo |0 > > in the output. Please add an option to ignore zero-sized diffs.
Coincidentally, my changes for 1.43 exposed a case like this, and I filtered them all out: ~ (105) cd /tmp /tmp (106) mkdir a b /tmp (107) touch a/foo b/foo /tmp (108) diff -Nru a/foo b/foo | diffstat 0 files changed /tmp (110) diffstat -V diffstat version 1.43 /tmp (111) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpE6yr4iUsTP.pgp
Description: PGP signature

