diffstat - patch analysis tool (FYI)

T.Nugent@sct.gu.edu.au
Sun, 7 Jul 1996 10:37:42 +1000


Linus,

[Cc'ed to linux-kernel as I think people there might also be
interested in this.]

As you deal with patch files a lot, I thought I'd let you know about a
handy little utility called `diffstat' that gives you an overall
analysis of patch files.

It was written by Thomas Dickey, who is an active contributer to the
development of ncurses (and, I think, color-xterm).

This is the result of running patch-2.0.3.gz through it...

% zcat patch-2.0.3.gz | diffstat
CREDITS | 10
Documentation/Changes | 186
Documentation/Configure.help | 75
Makefile | 2
drivers/cdrom/sbpcd.c | 137
drivers/scsi/ChangeLog.ncr53c8xx | 613 ++
drivers/scsi/Config.in | 18
drivers/scsi/Makefile | 11
drivers/scsi/README.ncr53c8xx | 560 ++
drivers/scsi/hosts.c | 7
drivers/scsi/ncr53c8xx.c | 8183 +++++++++++++++++++++++++++++++++++++++
drivers/scsi/ncr53c8xx.h | 849 ++++
drivers/sound/CHANGELOG | 16
drivers/sound/Config.std | 4
drivers/sound/Readme | 18
drivers/sound/Readme.cards | 72
drivers/sound/Readme.linux | 7
drivers/sound/Readme.modules | 12
drivers/sound/Readme.v30 | 15
drivers/sound/ad1848.c | 24
drivers/sound/aedsp16.c | 100
drivers/sound/audio.c | 2
drivers/sound/configure.c | 48
drivers/sound/cs4232.c | 12
drivers/sound/dev_table.h | 14
drivers/sound/dmabuf.c | 12
drivers/sound/dmasound.c | 8
drivers/sound/gus_vol.c | 2
drivers/sound/gus_wave.c | 12
drivers/sound/lowlevel/aci.c | 4
drivers/sound/mad16.c | 16
drivers/sound/maui.c | 4
drivers/sound/midi_synth.c | 2
drivers/sound/mpu401.c | 8
drivers/sound/opl3.c | 6
drivers/sound/opl3.h | 6
drivers/sound/pas2_card.c | 8
drivers/sound/pas2_mixer.c | 4
drivers/sound/pas2_pcm.c | 2
drivers/sound/patmgr.c | 2
drivers/sound/pss.c | 8
drivers/sound/sb.h | 2
drivers/sound/sb_audio.c | 12
drivers/sound/sb_card.c | 2
drivers/sound/sb_common.c | 28
drivers/sound/sb_midi.c | 6
drivers/sound/sb_mixer.c | 4
drivers/sound/sequencer.c | 20
drivers/sound/sound_config.h | 8
drivers/sound/soundcard.c | 4
drivers/sound/sscape.c | 28
drivers/sound/trix.c | 2
include/asm-i386/posix_types.h | 2
include/linux/proc_fs.h | 1
net/ipv4/tcp_input.c | 2
55 files changed, 10823 insertions, 397 deletions

Neat, eh? :-)

It allows me to see at a glance that most of the changes in
linux-2.0.3 have been what looks like the addition of a new scsi
driver, and updates to the sound driver.

You can get it from:

ftp://ftp.clark.net/pub/dickey/diffstat/

-r--r--r-- 1 dickey ipusers 20155 Mar 24 23:49 diffstat-1.25.tgz

I'm now running 2.0.2 and it seems to be stable (but it's only been a
day or so).

Meanwhile, keep up the good work mate! :-)

Cheers .
Tony _--_|\
tony@trishul.sci.gu.edu.au / *\ T.Nugent@sct.gu.edu.au
ae.nugent@student.qut.edu.au\_.--._/ tnugent@cit.gu.edu.au
tony@sctnugen.ppp.gu.edu.au v Brisbane Qld Australia
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
Funny thing about the future... wherever you go, there you are.