diff options
author | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 |
commit | 3faf8d6bffc5d0fb2525ba37bb504c53366caf9d (patch) | |
tree | 7e47911263e75034b767fe34b2f8d3d17e91f66d /subversion/libsvn_client/diff_local.c | |
parent | a55fb3c0d5eca7d887798125d5b95942b1f01d4b (diff) |
Diffstat (limited to 'subversion/libsvn_client/diff_local.c')
-rw-r--r-- | subversion/libsvn_client/diff_local.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/subversion/libsvn_client/diff_local.c b/subversion/libsvn_client/diff_local.c index df6bc0a8c0092..056ee53e8f28b 100644 --- a/subversion/libsvn_client/diff_local.c +++ b/subversion/libsvn_client/diff_local.c @@ -179,7 +179,7 @@ inner_dir_diff(const char *left_abspath, { svn_error_clear(err); right_dirents = apr_hash_make(scratch_pool); - right_only = TRUE; + left_only = TRUE; } else SVN_ERR(err); @@ -669,9 +669,6 @@ svn_client__arbitrary_nodes_diff(const char **root_relpath, SVN_ERR(svn_io_check_resolved_path(left_abspath, &left_kind, scratch_pool)); SVN_ERR(svn_io_check_resolved_path(right_abspath, &right_kind, scratch_pool)); - if (depth == svn_depth_unknown) - depth = svn_depth_infinity; - if (left_kind == svn_node_dir && right_kind == svn_node_dir) { left_root_abspath = left_abspath; |