File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,6 @@ protected internal override int GitCredentialHandler(out IntPtr cred)
30
30
throw new InvalidOperationException ( "SshUserKeyCredentials contains a null Passphrase." ) ;
31
31
}
32
32
33
- if ( PublicKey == null )
34
- {
35
- throw new InvalidOperationException ( "SshUserKeyCredentials contains a null PublicKey." ) ;
36
- }
37
-
38
33
if ( PrivateKey == null )
39
34
{
40
35
throw new InvalidOperationException ( "SshUserKeyCredentials contains a null PrivateKey." ) ;
@@ -50,6 +45,7 @@ protected internal override int GitCredentialHandler(out IntPtr cred)
50
45
51
46
/// <summary>
52
47
/// Public key file location for SSH authentication.
48
+ /// <para>If the public key is null, it will be derived from the private key</para>
53
49
/// </summary>
54
50
public string PublicKey { get ; set ; }
55
51
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json" ,
3
- "version" : " 0.26.0 " ,
3
+ "version" : " 0.26.1 " ,
4
4
"publicReleaseRefSpec" : [
5
5
" ^refs/heads/master$" , // we release out of master
6
6
" ^refs/heads/maint/v\\ d+(?:\\ .\\ d+)?$" // and maint/vNN branches
You can’t perform that action at this time.
0 commit comments