Skip to content

Commit 785a1c8

Browse files
Monard VongEric Wong
authored andcommitted
git-svn: branch: avoid systematic prompt for cert/pass
Commands such as "git svn init/fetch/dcommit" do not prompt for client certificate/password if they are stored in SVN config file. Make "git svn branch" consistent with the other commands, as SVN::Client is capable of building its own authentication baton from information in the SVN config directory. Signed-off-by: Monard Vong <travelingsoul86@gmail.com> Signed-off-by: Eric Wong <normalperson@yhbt.net>
1 parent ce1d3a9 commit 785a1c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

git-svn.perl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,9 @@ sub cmd_branch {
11611161
::_req_svn();
11621162

11631163
my $ctx = SVN::Client->new(
1164-
auth => Git::SVN::Ra::_auth_providers(),
1164+
config => SVN::Core::config_get_config(
1165+
$Git::SVN::Ra::config_dir
1166+
),
11651167
log_msg => sub {
11661168
${ $_[0] } = defined $_message
11671169
? $_message

0 commit comments

Comments
 (0)