AW: [PATCH]: Optimize merge_file_trivial()
From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Wed, 13 Jun 2012 19:25:46 +0000
Hi, Julian,
Here's the second round. I hope I did catch all issues.
As there were no comments about the names and the parameter order, I guess they're okay.
The tests still look well:
Summary of test results:
[[
* subversion/include/svn_io.h
* subversion/libsvn_subr/io.c
* subversion/libsvn_wc/merge.c
Patch by: Markus Schaber <m.schaber_at_3s-software.com>
Best regards
Markus Schaber
-- We software Automation. 3S-Smart Software Solutions GmbH Markus Schaber | Developer Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50 Email: m.schaber@3s-software.com | Web: http://www.3s-software.com CoDeSys internet forum: http://forum.3s-software.com Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 ________________________________________ Von: Julian Foad [julianfoad_at_btopenworld.com] Gesendet: Mittwoch, 13. Juni 2012 16:52 Bis: Markus Schaber Cc: dev_at_subversion.apache.org Betreff: Re: AW: [PATCH]: Optimize merge_file_trivial() (Was: Fix issue #4128) Markus Schaber wrote: >> Please use 'TRUE' and 'FALSE' for Boolean values in the code and in the doc strings, not zero and non-zero. > > I did just copy this from the 2-file functions that existed. I'll update the patch accordingly. Ah, I see. I've fixed those in r1349889. As for auto source formatting, I have settings for the Vim text editor, but I don't know about VS or a stand-alone tool. - Julian >> Please replace 'rsp' with 'and' or 'or' in the doc strings. See <http://www.transblawg.eu/index.php?/archives/870-Resp.-and-other-non-existent-English-wordsNicht-existente-englische-Woerter.html> :-) > >> Please don't initialize variables that are going to be unconditionally initialized later: variables 'file1_h', 'file2_h', 'file3_h' in contents_three_identical_p(). > > I'll fix both issues, too. > >> Please make all the indentation consistent, and put operators on the beginning of each continuation line indented to just inside the relevant opening parenthesis, so instead of this: > > Is there some reformatter script or (even better) visual studio plugin that implements all the formatting rules? > > Best regards > > Markus SchaberReceived on 2012-06-13 21:29:51 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.