subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1426763 - /subversion/trunk/subversion/libsvn_diff/diff_file.c
Date Sat, 29 Dec 2012 13:50:04 GMT
Author: rhuijben
Date: Sat Dec 29 13:50:03 2012
New Revision: 1426763

URL: http://svn.apache.org/viewvc?rev=1426763&view=rev
Log:
* subversion/libsvn_diff/diff_file.c
  (CHUNK_SHIFT,
   SUFFIX_LINES_TO_KEEP): Add some references in comment.

Modified:
    subversion/trunk/subversion/libsvn_diff/diff_file.c

Modified: subversion/trunk/subversion/libsvn_diff/diff_file.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_diff/diff_file.c?rev=1426763&r1=1426762&r2=1426763&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_diff/diff_file.c (original)
+++ subversion/trunk/subversion/libsvn_diff/diff_file.c Sat Dec 29 13:50:03 2012
@@ -122,7 +122,8 @@ datasource_to_index(svn_diff_datasource_
  * whatsoever.  If there is a number someone comes up with that has some
  * argumentation, let's use that.
  */
-/* If you change this number, update test_wrap() in diff-diff3-test.c */
+/* If you change this number, update test_wrap() and test_identical_suffix()
+   in diff-diff3-test.c */
 #define CHUNK_SHIFT 17
 #define CHUNK_SIZE (1 << CHUNK_SHIFT)
 
@@ -497,6 +498,7 @@ find_identical_prefix(svn_boolean_t *rea
  * The number 50 is more or less arbitrary, based on some real-world tests
  * with big files (and then doubling the required number to be on the safe
  * side). This has a negligible effect on the power of the optimization. */
+/* If you change this number, update test_identical_suffix() in diff-diff3-test.c */
 #ifndef SUFFIX_LINES_TO_KEEP
 #define SUFFIX_LINES_TO_KEEP 50
 #endif



Mime
View raw message