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>maint
							parent
							
								
									ce1d3a93a6
								
							
						
					
					
						commit
						785a1c8258
					
				|  | @ -1161,7 +1161,9 @@ sub cmd_branch { | ||||||
| 	::_req_svn(); | 	::_req_svn(); | ||||||
|  |  | ||||||
| 	my $ctx = SVN::Client->new( | 	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 { | 		log_msg => sub { | ||||||
| 			${ $_[0] } = defined $_message | 			${ $_[0] } = defined $_message | ||||||
| 				? $_message | 				? $_message | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Monard Vong
						Monard Vong