On Sun, Jul 20, 2008 at 11:33:22AM -0400, Joe Nahmias wrote:
> It would be nice if diffstat supported compressed diffs natively (-z
> option?) instead of having to do `zcat foo.diff | diffstat`.

This is already in place, assuming that the diff filename has the usual 
.gz/.bz2 suffix.  For example:

   $ diffstat  diffstat-1.45-quiet.diff.gz 
    diffstat.1 |    3 +++
    diffstat.c |   27 +++++++++++++++++----------
    2 files changed, 20 insertions(+), 10 deletions(-)

A set of explicit commandline options would be useful when dealing with 
atypical filenames, however, and possibly when reading from stdin as 
well.  I'll look into it...

Attachment: signature.asc
Description: Digital signature

Reply via email to