File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 44namespace LibGit2Sharp
55{
66 /// <summary>
7- /// Options to define clone behaviour
7+ /// Options to define clone behavior
88 /// </summary>
99 public sealed class CloneOptions : IConvertableToGitCheckoutOpts
1010 {
1111 /// <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.
1324 /// </summary>
1425 public CloneOptions ( )
1526 {
You can’t perform that action at this time.
0 commit comments