Red Hat Bugzilla – Bug 74971
diffstat doesn't like diffs from diff -u
Last modified: 2007-04-18 12:47:02 EDT
Description of Problem:
diffstat doesn't seem to like diffs from "diff -u" in 8.0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. echo foo > /tmp/a
2. echo bar > /tmp/b
3. diff -u /tmp/a /tmp/b | diffstat
with 8.0, diffstat output is:
0 files changed
with 7.3, diffstat output is:
b | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
LANG=en_GB.UTF-8 if that affects diff -u output
I expect it's because of the new-style timestamp format.
This seems to be fixed upstream (1.31).
Fixed package is diffstat-1.31-1.