Changeset 55780 in webkit
- Timestamp:
- Mar 10, 2010 7:47:30 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r55775 r55780 1 2010-03-10 Adam Roben <aroben@apple.com> 2 3 Make svn-create-patch and prepare-ChangeLog show better section 4 headings for ObjC files 5 6 This makes the text at the end of each "@@" line in a diff actually 7 show the ObjC method or interface that contains the change, rather 8 than whatever the most-recently-defined C function was. 9 10 Fixes <http://webkit.org/b/35970>. 11 12 Reviewed by John Sullivan. 13 14 * Scripts/svn-create-patch: Pass -F'^[-+@]' to diff so that it will 15 treat any lines starting with -, +, or @ as section heading lines. 16 This works well for ObjC files, and shouldn't affect other types of 17 files. 18 19 * Scripts/prepare-ChangeLog: Changed the options passed to diff to 20 match those used in svn-create-patch. 21 1 22 2010-03-10 Simon Hausmann <simon.hausmann@nokia.com> 2 23 -
trunk/WebKitTools/Scripts/prepare-ChangeLog
r54076 r55780 1228 1228 my $command; 1229 1229 if ($isSVN) { 1230 $command = "$SVN diff --diff-cmd diff -x - N$pathsString";1230 $command = "$SVN diff --diff-cmd diff -x -uaNpF'^[-+@]' $pathsString"; 1231 1231 } elsif ($isGit) { 1232 1232 $command = "$GIT diff --no-ext-diff -U0 " . diffFromToString(); -
trunk/WebKitTools/Scripts/svn-create-patch
r50136 r55780 204 204 manufacturePatchForAdditionWithHistory($fileData); 205 205 } 206 open DIFF, "svn diff --diff-cmd diff -x -uaNp '$file' |" or die;206 open DIFF, "svn diff --diff-cmd diff -x -uaNpF'^[-+@]' '$file' |" or die; 207 207 while (<DIFF>) { 208 208 $patch .= $_;
Note: See TracChangeset
for help on using the changeset viewer.