diff options
author | yorah <yoram.harmelin@gmail.com> | 2013-03-11 18:35:03 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-04-09 23:03:33 +0400 |
commit | c4b4f9382da0571b1ff76b263255a9e3e412b491 (patch) | |
tree | 8324487e3954213cc2963131273271e263b5ae42 /LibGit2Sharp/IRepository.cs | |
parent | 3f5bf001d622c5dfbeb5dd46df2bf739a07f7cc7 (diff) |
Add ExplicitPathsOptions to Repository.Reset()
Diffstat (limited to 'LibGit2Sharp/IRepository.cs')
-rw-r--r-- | LibGit2Sharp/IRepository.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/LibGit2Sharp/IRepository.cs b/LibGit2Sharp/IRepository.cs index 12f3f01a..da0b00b8 100644 --- a/LibGit2Sharp/IRepository.cs +++ b/LibGit2Sharp/IRepository.cs @@ -125,7 +125,11 @@ namespace LibGit2Sharp /// </summary> /// <param name = "commit">The target commit object.</param> /// <param name = "paths">The list of paths (either files or directories) that should be considered.</param> - void Reset(Commit commit, IEnumerable<string> paths = null); + /// <param name = "explicitPathsOptions"> + /// If set, the passed <paramref name="paths"/> will be treated as explicit paths. + /// Use these options to determine how unmatched explicit paths should be handled. + /// </param> + void Reset(Commit commit, IEnumerable<string> paths = null, ExplicitPathsOptions explicitPathsOptions = null); /// <summary> /// Clean the working tree by removing files that are not under version control. |