| Summary: | prepare-ChangeLog reports function above deleted function as deleted; uninitialized value warning when staged non-empty file for commit | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||
| Component: | Tools / Tests | Assignee: | Daniel Bates <dbates> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | darin, ddkilzer, matthew_hanson, mitz | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Daniel Bates
2015-05-15 17:13:36 PDT
The logic for parsing a chunk range line of a unified diff is incorrect in extractLineRange{Before, After}Change(). In addition to causes this bug it also causes prepare-ChangeLog to always emit the name of the function f_0 above a deleted function regardless of whether f_0 changed.
Created attachment 253243 [details]
Patch and unit tests
Comment on attachment 253243 [details] Patch and unit tests View in context: https://bugs.webkit.org/attachment.cgi?id=253243&action=review > Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl:29 > +use VCSUtils; Will remove this before landing. Committed r184521: <http://trac.webkit.org/changeset/184521> |