You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/08/28 15:16:05 UTC

svn commit: r990359 - /subversion/trunk/subversion/libsvn_client/diff.c

Author: stsp
Date: Sat Aug 28 13:16:05 2010
New Revision: 990359

URL: http://svn.apache.org/viewvc?rev=990359&view=rev
Log:
* subversion/libsvn_client/diff.c
  (print_git_diff_header): Pass both path1 and path2 to
   print_git_diff_header_modified() instead of passing path2 twice. The paths
   are the same in this case so this is not a functional change, just cosmetic.

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=990359&r1=990358&r2=990359&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/diff.c (original)
+++ subversion/trunk/subversion/libsvn_client/diff.c Sat Aug 28 13:16:05 2010
@@ -750,7 +750,7 @@ print_git_diff_header(svn_stream_t *os,
       SVN_ERR(print_git_diff_header_modified(os, header_encoding,
                                              repos_relpath1, repos_relpath2,
                                              scratch_pool));
-      *label1 = diff_label(apr_psprintf(scratch_pool, "a/%s", repos_relpath2),
+      *label1 = diff_label(apr_psprintf(scratch_pool, "a/%s", repos_relpath1),
                            rev1, scratch_pool);
       *label2 = diff_label(apr_psprintf(scratch_pool, "b/%s", repos_relpath2),
                            rev2, scratch_pool);