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 2015/01/28 14:05:15 UTC

svn commit: r1655291 - in /subversion/trunk/subversion: bindings/javahl/native/DiffOptions.cpp include/svn_diff.h

Author: rhuijben
Date: Wed Jan 28 13:05:14 2015
New Revision: 1655291

URL: http://svn.apache.org/r1655291
Log:
Following up on r1655279 and r1655288 apply some minor tweaks.

* subversion/bindings/javahl/native/DiffOptions.cpp
  (DiffOptions::fileOptions): Support SHOW_C_FUNCTION flag, even
    though the only user ignores it.

* subversion/include/svn_diff.h
  (svn_diff_file_options_t): Add missing @since marker.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp
    subversion/trunk/subversion/include/svn_diff.h

Modified: subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp?rev=1655291&r1=1655290&r2=1655291&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/DiffOptions.cpp Wed Jan 28 13:05:14 2015
@@ -90,6 +90,9 @@ svn_diff_file_options_t *DiffOptions::fi
   if (flags & IGNORE_EOL_STYLE)
     opt->ignore_eol_style = TRUE;
 
+  if (flags & SHOW_C_FUNCTION)
+    opt->show_c_function = TRUE;
+
   /* TODO: Support context size */
 
   return opt;

Modified: subversion/trunk/subversion/include/svn_diff.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_diff.h?rev=1655291&r1=1655290&r2=1655291&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_diff.h (original)
+++ subversion/trunk/subversion/include/svn_diff.h Wed Jan 28 13:05:14 2015
@@ -475,6 +475,7 @@ typedef struct svn_diff_file_options_t
     * of the nearest preceding line that starts with a character that might be
     * the initial character of a C language identifier.  The default is
     * @c FALSE.
+    * @since New in 1.5.
     */
   svn_boolean_t show_c_function;