File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 4
4
namespace LibGit2Sharp
5
5
{
6
6
/// <summary>
7
- /// Options to define clone behaviour
7
+ /// Options to define clone behavior
8
8
/// </summary>
9
9
public sealed class CloneOptions : IConvertableToGitCheckoutOpts
10
10
{
11
11
/// <summary>
12
- /// Creates default <see cref="CloneOptions"/> for a non-bare clone
12
+ /// Creates <see cref="CloneOptions"/> with specified <see cref="FetchOptions"/> for a non-bare clone.
13
+ /// </summary>
14
+ /// <param name="fetchOptions">The fetch options to use.</param>
15
+ public CloneOptions ( FetchOptions fetchOptions ) : this ( )
16
+ {
17
+ Ensure . ArgumentNotNull ( fetchOptions , "fetchOptions" ) ;
18
+
19
+ FetchOptions = fetchOptions ;
20
+ }
21
+
22
+ /// <summary>
23
+ /// Creates default <see cref="CloneOptions"/> for a non-bare clone.
13
24
/// </summary>
14
25
public CloneOptions ( )
15
26
{
You can’t perform that action at this time.
0 commit comments