Skip to content

Commit 96b44ae

Browse files
committed
svnbrowse: Default the target to the current directory when invoked with no
arguments by adding an extra "dot" target to the according array. * subversion/svnbrowse/svnbrowse.c (sub_main): Call svn_opt_push_implicit_dot_target() for targets. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1933104 13f79535-47bb-0310-9956-ffa450edef68
1 parent f88f5fe commit 96b44ae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

subversion/svnbrowse/svnbrowse.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ sub_main(int *code, int argc, const char *argv[], apr_pool_t *pool)
581581

582582
SVN_ERR(svn_client_args_to_target_array2(&targets, os, NULL, client, FALSE,
583583
pool));
584+
svn_opt_push_implicit_dot_target(targets, pool);
584585

585586
/* we must fail if there are extra arguments */
586587
if (targets->nelts != 1)

0 commit comments

Comments
 (0)