Commit graph

9 commits

Author SHA1 Message Date
snj
363e625602 Update to 1.46.
Changes:
* add "-S", "-D" and "-m" to provide a way to show the amount of
  difference relative to the total sizes of the files.
* add "-q" (suppress the "0 files changed" message for empty diffs)
2008-10-30 19:33:47 +00:00
reed
918e108936 Upgrade diffstat to 1.45.
From changelog:

04-Sep-2007
	diffstat 1.45

	add "-b" option (Debian #379380, patch by Greg Norris).

26-Aug-2007
	diffstat 1.44

	add a check for default-diff output, e.g., "diff foo bar|diffstat",
	which has no "diff" command in the output for diffstat to guess that
	a diff is beginning.

	add a check after completing a chunk for unified diff to ensure that
	the next line either begins another chunk for the diff, or starts
	another diff, e.g., a context diff (report by Adrian Bunk).

	add configure options for leak-checking valgrind, etc.

	use install-sh rather than install.sh

	updated config.guess and config.sub

	updated configure macros CF_GCC_ATTRIBUTES CF_GCC_WARNINGS CF_MSG_LOG
	CF_PATH_SYNTAX CF_VERBOSE CF_XOPEN_SOURCE
2007-10-13 01:28:12 +00:00
snj
e8eb44c2d4 Update to 1.43. Claim maintainership.
Changes since 1.41:
- fix to avoid modifying data which is being used by tsearch() for
  ordering the binary tree (report by Adrian Bunk).
- do not ignore pathnames in /tmp/, since some tools create usable
  pathnames for both old/new files there (Debian #376086).
- correct ifdef for fgetc_unlocked().
- updated configure macros CF_GCC_VERSION, CF_PATH_SYNTAX and
  CF_XOPEN_SOURCE
- add configure check for compress, gzip and bzip2 programs that may be
  used to decompress files.
2006-10-09 23:09:20 +00:00
rillig
c8b62ee243 Added a patch to fix a syntax error with NetBSD's /bin/sh (and maybe
others).
2006-06-26 11:44:09 +00:00
snj
b6a1d32f4a Update to 1.41. Selected changes:
* add options -l, -r and -t.  add to -f option
* improve I/O on Linux using fgetc_locked().
* improve searching of long sorted lists using tsearch()
* change order of merging and prefix-stripping so stripping all prefixes,
  e.g., with -p9, will be sorted as expected
* correct a reference to freed memory after merging found with valgrind.
* fix a different case for data beginning with "--" which was treated as
  a header line.
* Fix allocation problems.  Open files in binary mode for reading.
  Getopt returns -1, not necessarily EOF.  Add const where useful.  Use
  NO_IDENT where necessary.  malloc() comes from <stdlib.h> in standard
  systems
* minor fix for resync of unified diffs checks for range (line beginning
  with '@' without header lines (successive lines beginning with "---"
  and "+++")
2006-05-08 06:22:51 +00:00
agc
c71cac836a Add RMD160 digests to the SHA1 ones. 2005-02-24 14:48:39 +00:00
epg
09068ddadb Make this build on FreeBSD (stop fussing about with malloc.h). 2004-11-10 16:18:29 +00:00
jmmv
4ce69a53dc Update to 1.34, from Soren Jacobsen in PR pkg/23741:
* Improve check for certain lines (not those that begin a chunk) that
  begin with '-', treating all except "---" as a delete (report by
  James Rowe <Jay@jnrowe.uklinux.net>).
* Minor updates to configure script.
2003-12-14 11:14:21 +00:00
simonb
c2cb3e9a57 Initial import of Thomas Dickey's "diffstat" program.
From the readme:

 This program is a simple filter that reads the output of the 'diff' program,
 and produces a histogram of the total number of lines that were changed.  It is
 useful for scanning a patch file to see which files were changed.
2003-05-16 01:45:44 +00:00