Red Hat Bugzilla – Bug 146857
diffstat interprets '--' in removed line as header line
Last modified: 2007-11-30 17:10:59 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
This is fixed in a newer upstream version.
fix a different case for data beginning with "--" which was treated as
a header line.
The latest version is 1.38.
Please update diffstat to latest upstream version for bugfixes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a diff that deletes a line starting with "-- whatever"
2. Run diffstat on that file
3. Note how it comes up with a bogus file entry.
Actual Results: 3. Note how it comes up with a bogus file entry.
Expected Results: 3. Should show just the one file.
This is fixed in the latest upstream version.