You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2014/06/19 15:21:50 UTC

svn commit: r1603875 - /subversion/trunk/subversion/libsvn_diff/diff_file.c

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;