Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions LibGit2Sharp/CloneOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,23 @@
namespace LibGit2Sharp
{
/// <summary>
/// Options to define clone behaviour
/// Options to define clone behavior
/// </summary>
public sealed class CloneOptions : IConvertableToGitCheckoutOpts
{
/// <summary>
/// Creates default <see cref="CloneOptions"/> for a non-bare clone
/// Creates <see cref="CloneOptions"/> with specified <see cref="FetchOptions"/> for a non-bare clone.
/// </summary>
/// <param name="fetchOptions">The fetch options to use.</param>
public CloneOptions(FetchOptions fetchOptions) : this()
{
Ensure.ArgumentNotNull(fetchOptions, "fetchOptions");

FetchOptions = fetchOptions;
}

/// <summary>
/// Creates default <see cref="CloneOptions"/> for a non-bare clone.
/// </summary>
public CloneOptions()
{
Expand Down