subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1603875 - /subversion/trunk/subversion/libsvn_diff/diff_file.c
Date Thu, 19 Jun 2014 13:21:50 GMT
Author: rhuijben
Date: Thu Jun 19 13:21:50 2014
New Revision: 1603875

URL: http://svn.apache.org/r1603875
Log:
* subversion/libsvn_diff/diff_file.c
  (svn_diff_file_options_parse): Following up on r1603847, remove
    checking for 0 and negative context size. The api already handles these
    as 3 lines of context.

Suggested by: stsp

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=1603875&r1=1603874&r2=1603875&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_diff/diff_file.c (original)
+++ subversion/trunk/subversion/libsvn_diff/diff_file.c Thu Jun 19 13:21:50 2014
@@ -1300,8 +1300,6 @@ svn_diff_file_options_parse(svn_diff_fil
           break;
         case 'U':
           SVN_ERR(svn_cstring_atoi(&options->context_size, opt_arg));
-          if (options->context_size < 1)
-            options->context_size = 1;
           break;
         default:
           break;



Mime
View raw message