From: ddkilzer Date: Sat, 3 Jun 2006 20:38:22 +0000 (+0000) Subject: WebKitTools: X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=243a7568b5c470e5c64f67fce7187d8965855b2d;ds=inline WebKitTools: Reviewed by Maciej. http://bugzilla.opendarwin.org/show_bug.cgi?id=9296 Performance improvement for svn-create-patch * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14713 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog index f87a488bf176..f0a0355d6aef 100644 --- a/WebKitTools/ChangeLog +++ b/WebKitTools/ChangeLog @@ -1,3 +1,12 @@ +2006-06-03 David Kilzer + + Reviewed by Maciej. + + http://bugzilla.opendarwin.org/show_bug.cgi?id=9296 + Performance improvement for svn-create-patch + + * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch. + 2006-06-03 David Kilzer Reviewed by darin. diff --git a/WebKitTools/Scripts/svn-create-patch b/WebKitTools/Scripts/svn-create-patch index bdfe5854b3a9..1dd11f73104b 100755 --- a/WebKitTools/Scripts/svn-create-patch +++ b/WebKitTools/Scripts/svn-create-patch @@ -127,7 +127,7 @@ sub diff # Fix paths on diff, ---, and +++ lines to match preceding Index: line. s/\S+$/$indexPath/ if /^diff/; s/^--- \S+/--- $indexPath/; - s/^\+\+\+ \S+/+++ $indexPath/; + s/^\+\+\+ \S+/+++ $indexPath/ && undef $indexPath; } print; }