Author: dannas
Date: Thu Jul 8 14:47:52 2010
New Revision: 961789
URL: http://svn.apache.org/viewvc?rev=961789&view=rev
Log:
Follow-up to r961775. Make the doc string a bit clearer atleast.
* subversion/libsvn_client/diff.c
(adjust_paths_for_diff_labels): See above.
Modified:
subversion/trunk/subversion/libsvn_client/diff.c
Modified: subversion/trunk/subversion/libsvn_client/diff.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/diff.c?rev=961789&r1=961788&r2=961789&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/diff.c (original)
+++ subversion/trunk/subversion/libsvn_client/diff.c Thu Jul 8 14:47:52 2010
@@ -190,9 +190,11 @@ maybe_append_eol(const svn_string_t *tok
}
}
-/* Adjust NEW_PATH1 and NEW_PATH2 to properly describe what paths has been
- * compared taking RELATIVE_TO_DIR into account. All allocations are done in
- * POOL. */
+/* Adjust PATH1 and PATH2, representing the original targets passed to the
+ * the diff command, to handle the case when we're dealing with different
+ * anchors. PATH represents the file that has changed. RELATIVE_TO_DIR is
+ * the directory the diff target should be considered relative to. All
+ * allocations are done in POOL. */
static svn_error_t *
adjust_paths_for_diff_labels(const char **path1,
const char **path2,