Diffstat is an open source command-line software that reads the output of the diff command and displays a histogram of the deletions, modifications and insertions in each file.
Diffstat is commonly used on Linux/UNIX operating systems to provide a summary of the changes in large and complex patch files.
Usage: diffstat [options] [files]
The program will read from one or more input files that contain output from the diff command, generating a histogram of total lines changed for each file referenced.
However, keep in mind that If no filename is given on the command-line, Diffstat will automatically read from standard input.
What is new in this release:
- add COPYING file (request by Dagobert Michelsen).
- improved portability for cross-compiling, by supplying missing getopt function as well as improving checks for popen/pclose prototypes.
- updated configure macros, e.g., for MingW and MSYS fixes.
- update config.guess, config.sub
What is new in version 1.57:
- Improved treatment of binary files in ambiguous message introduced in diffutils 2.8.4, and finally corrected in 3.0 (report by Moritz Barsnick).
What is new in version 1.56:
- add -K option which attempts to improve the annotation of "only" files by looking for a match in the resulting set of files and inferring whether the file was added or removed (request by Marc Haber).
- add check of command-line options for valid numbers.
- improve merging of patches for the same filename (report/testcase by Paul E McKenney).
- document -d option in manpage.
- document -b, -C, -s option in usage (patch by Tim Waugh, Red Hat #852770)
- modify configure script as done for byacc in 2012/10/03, making the 2.52-patches the prerequisite and adding support for --datarootdir option.
- update config.guess, config.sub
- add logic to handle SVN diffs when the pathnames contain spaces (patch by Stuart Prescott, Debian #675475).
- fix typo in package/debian/control
What is new in version 1.55:
- add -R option, like patch's, to reverse the order of the comparison.
- FreeBSD ports/148604, ports/149500 reported that lzcat may not support extracting files compressed in xz format (patch by Frederic Culot, FreeBSD #149500).
- address documentation issue raised in Novell #739210
- correct typo s/Solaris/Solar/.
- updated configure script macros: CF_ANSI_CC_CHECK CF_DISABLE_LEAKS CF_GCC_ATTRIBUTES CF_GCC_WARNINGS, CF_MAKE_TAGS CF_MSG_LOG CF_PATH_PROG CF_WITH_INSTALL_PREFIX, CF_XOPEN_SOURCE
- update config.guess, config.sub
What is new in version 1.54:
- change Debian package script to use native format.
- correct counts used for new files when -S/-D options are used.
- minor typography improvement to manpage (patch by Solaris Designer)
- remove the temporary directory on error, introduced in 1.48+ (patch by Solaris Designer).
What is new in version 1.53:
- add missing "break" statement which left "-c" option falling-through into "-C".
What is new in version 1.52:
- add "-C" option to show the histogram using SGR colors.
- add "-s" option to show only the summary line.
- add configure check for "xz", using this in preference to "lzcat" (FreeBSD #148604).
- also escape literal dashes used as part of the histogram in the manpage.
- modify hyphens vs dashes in manpage per http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html (patch by Francois Marier).
- drop mkdirs.sh, use "mkdir -p"
- add configure checks for ctags and lint.
- updated configure macros
- reformat CHANGES to work with metrics script.
- fix strict gcc warnings, e.g., using const.
- improve a case where filenames have embedded blanks (patch by Reinier Post).
- update config.guess, config.sub
What is new in version 1.50:
- A minor bug with reading uncompressed data via a pipe was fixed.
- Portability was fixed for Unix and MSYS/MinGW.
What is new in version 1.49:
- xz was added as a supported compressed filetype.
- Diff of files with no trailing newline is now correct counted.
- Several portability fixes were made.
Comments not found