diff options
author | Metalrom <romain.magny@gmail.com> | 2012-12-14 16:58:43 +0400 |
---|---|---|
committer | Metalrom <romain.magny@gmail.com> | 2012-12-14 20:32:50 +0400 |
commit | 91aad1148347bb15fa5a703c7979a6dd010a03b8 (patch) | |
tree | 5bb75c06a1c541713724aaa8c28505d787b37bc6 /LibGit2Sharp/IRepository.cs | |
parent | 0c290c4c8ae716d9309c201446b92abba79c9209 (diff) |
Adds Reset(Commit commit, IEnumerable<string> paths = null) to Repository
Diffstat (limited to 'LibGit2Sharp/IRepository.cs')
-rw-r--r-- | LibGit2Sharp/IRepository.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/LibGit2Sharp/IRepository.cs b/LibGit2Sharp/IRepository.cs index ed6203cb..bd5c4126 100644 --- a/LibGit2Sharp/IRepository.cs +++ b/LibGit2Sharp/IRepository.cs @@ -136,6 +136,13 @@ namespace LibGit2Sharp /// <summary> /// Replaces entries in the <see cref="Repository.Index"/> with entries from the specified commit. /// </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); + + /// <summary> + /// Replaces entries in the <see cref="Repository.Index"/> with entries from the specified commit. + /// </summary> /// <param name = "committish">A revparse spec for the target commit object.</param> /// <param name = "paths">The list of paths (either files or directories) that should be considered.</param> void Reset(string committish = "HEAD", IEnumerable<string> paths = null); |