Bug 74971 - diffstat doesn't like diffs from diff -u
diffstat doesn't like diffs from diff -u
Product: Red Hat Linux
Classification: Retired
Component: diffstat (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2002-10-03 04:46 EDT by Joe Orton
Modified: 2007-04-18 12:47 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-10-17 10:17:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joe Orton 2002-10-03 04:46:17 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):
diffstat-1.28-4, diffutils-2.8.1-3

How Reproducible:

Steps to Reproduce:
1. echo foo > /tmp/a
2. echo bar > /tmp/b
3. diff -u /tmp/a /tmp/b | diffstat

Actual Results:
with 8.0, diffstat output is:
 0 files changed

Expected Results:
with 7.3, diffstat output is:
 b |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Additional Information:
LANG=en_GB.UTF-8 if that affects diff -u output
Comment 1 Tim Waugh 2002-10-03 04:52:33 EDT
I expect it's because of the new-style timestamp format.
Comment 2 Tim Waugh 2002-10-03 05:07:21 EDT
This seems to be fixed upstream (1.31).
Comment 3 Tim Waugh 2002-10-18 09:18:17 EDT
Fixed package is diffstat-1.31-1.

Note You need to log in before you can comment on or make changes to this bug.