Probably should not be relying on $_ not being clobbered in such a large loop body in the first place.
Created attachment 124242 [details] the patch
Created attachment 124244 [details] the patch Forgot about one implicit use of $_.
Comment on attachment 124244 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=124244&action=review > Tools/ChangeLog:3 > + Tools/Scripts/change-log-editor is broken due to $_ getting clobbered change-log-editor -> commit-log-editor > Tools/Scripts/commit-log-editor:136 > while (<LOG>) { > + my $curLine = $_; You could do while (my $curLine = <LOG>) { > Tools/Scripts/commit-log-editor:145 > + if (!isGit() || $curLine =~ /^#/) { # Could remove this EOL comment while you're here.
Landed in http://trac.webkit.org/changeset/106082