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>
Monard Vong committed
Jul 24, 2014 at 18:25 UTC
785a1c82587ca6e796595e63508ad6b32104d16c
1 file changed
+3
-1
git-svn.perl
+3
-1
@@ -1161,7 +1161,9 @@ sub cmd_branch {
1161
::_req_svn();
1162
1163
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
+ ),
1167
log_msg => sub {
1168
${ $_[0] } = defined $_message
1169
? $_message