Bug 143897

Summary: prepare-ChangeLog sometimes includes unmodified functions on purely subtractive hunks
Product: WebKit Reporter: Matthew Hanson <matthew_hanson>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dburkart, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.
ddkilzer: review-
v2: prepare-ChangeLog should ignore the preceeding function when processing the removal of a function. ddkilzer: review+

Matthew Hanson
Reported 2015-04-17 14:12:08 PDT
When a Git combined diff hunk only includes one deletion, prepare-ChangeLog reports that the previous function/method has been modified.
Attachments
prepare-ChangeLog should ignore the preceeding function when processing the removal of a function. (6.23 KB, patch)
2015-04-17 14:14 PDT, Matthew Hanson
ddkilzer: review-
v2: prepare-ChangeLog should ignore the preceeding function when processing the removal of a function. (6.32 KB, patch)
2015-04-17 14:33 PDT, Matthew Hanson
ddkilzer: review+
Matthew Hanson
Comment 1 2015-04-17 14:14:27 PDT
Created attachment 251045 [details] prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.
Matthew Hanson
Comment 2 2015-04-17 14:16:02 PDT
Radar WebKit Bug Importer
Comment 3 2015-04-17 14:16:52 PDT
Matthew Hanson
Comment 4 2015-04-17 14:18:16 PDT
David Kilzer (:ddkilzer)
Comment 5 2015-04-17 14:28:39 PDT
Comment on attachment 251045 [details] prepare-ChangeLog should ignore the preceeding function when processing the removal of a function. View in context: https://bugs.webkit.org/attachment.cgi?id=251045&action=review r- for commented out code. > Tools/Scripts/prepare-ChangeLog:291 > + # if ($after_start >= 0 && $after_end >= 0 && $after_end >= $after_start) { This shouldn't be commented out. We don't check in commented out code.
Matthew Hanson
Comment 6 2015-04-17 14:33:00 PDT
Created attachment 251048 [details] v2: prepare-ChangeLog should ignore the preceeding function when processing the removal of a function.
David Kilzer (:ddkilzer)
Comment 7 2015-04-17 14:45:49 PDT
Comment on attachment 251048 [details] v2: prepare-ChangeLog should ignore the preceeding function when processing the removal of a function. r=me. If this causes any regressions, we should create some Perl unit tests before re-landing.
Matthew Hanson
Comment 8 2015-04-20 15:08:34 PDT
Daniel Bates
Comment 9 2016-07-21 17:27:20 PDT
*** Bug 137889 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.