Skip to content

Commit

Permalink
git-svn: branch: avoid systematic prompt for cert/pass
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Monard Vong authored and Eric Wong committed Sep 14, 2014
1 parent ce1d3a9 commit 785a1c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,9 @@ sub cmd_branch {
::_req_svn();

my $ctx = SVN::Client->new(
auth => Git::SVN::Ra::_auth_providers(),
config => SVN::Core::config_get_config(
$Git::SVN::Ra::config_dir
),
log_msg => sub {
${ $_[0] } = defined $_message
? $_message
Expand Down

0 comments on commit 785a1c8

Please sign in to comment.