Bug 74971

Summary: diffstat doesn't like diffs from diff -u
Product: [Retired] Red Hat Linux Reporter: Joe Orton <jorton>
Component: diffstatAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: bill
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-17 14:17:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Joe Orton 2002-10-03 08:46:17 UTC
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:
Always

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 08:52:33 UTC
I expect it's because of the new-style timestamp format.

Comment 2 Tim Waugh 2002-10-03 09:07:21 UTC
This seems to be fixed upstream (1.31).

Comment 3 Tim Waugh 2002-10-18 13:18:17 UTC
Fixed package is diffstat-1.31-1.