[Webkit-unassigned] [Bug 29190] commit-log-editor should move common prefixes to the top of the commit log

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 12 05:04:05 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29190





--- Comment #1 from David Kilzer (ddkilzer) <ddkilzer at webkit.org>  2009-09-12 05:04:04 PDT ---
(From update of attachment 39445)
> +    foreach my $key (keys %{$hashOfStrings}) {
> +        $hashOfStrings->{$key} = substr($hashOfStrings->{$key}, $lastDoubleNewline);

Don't you want to use ($lastDoubleNewline + 2) here as well?

> +    }
> +    return substr($prefix, 0, $lastDoubleNewline + 2);
> +}

Otherwise this looks great!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list