diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-12-11 15:09:37 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-12-11 15:09:37 +0400 |
commit | 4c1cd49513ba0c78de54799661cd03661f8a31ad (patch) | |
tree | 57775f3cefd72c0a28882f008cd9a96b09ce15b2 /LibGit2Sharp/IRepository.cs | |
parent | 7c08048cfb150d50acc92fa404db256c29427b6b (diff) |
Fix some issues pinpointed by Code Analysis
Diffstat (limited to 'LibGit2Sharp/IRepository.cs')
-rw-r--r-- | LibGit2Sharp/IRepository.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/LibGit2Sharp/IRepository.cs b/LibGit2Sharp/IRepository.cs index 746bfc76..fb2f3b81 100644 --- a/LibGit2Sharp/IRepository.cs +++ b/LibGit2Sharp/IRepository.cs @@ -83,11 +83,11 @@ namespace LibGit2Sharp /// <summary> /// Checkout the specified branch, reference or SHA. /// </summary> - /// <param name = "commitishOrBranchSpec">A revparse spec for the commit or branch to checkout.</param> + /// <param name = "committishOrBranchSpec">A revparse spec for the commit or branch to checkout.</param> /// <param name="checkoutOptions">Options controlling checkout behavior.</param> /// <param name="onCheckoutProgress">Callback method to report checkout progress updates through.</param> /// <returns>The new HEAD.</returns> - Branch Checkout(string commitishOrBranchSpec, CheckoutOptions checkoutOptions, CheckoutProgressHandler onCheckoutProgress); + Branch Checkout(string committishOrBranchSpec, CheckoutOptions checkoutOptions, CheckoutProgressHandler onCheckoutProgress); /// <summary> /// Try to lookup an object by its <see cref = "ObjectId" /> and <see cref = "GitObjectType" />. If no matching object is found, null will be returned. @@ -122,15 +122,15 @@ namespace LibGit2Sharp /// the content of the working tree to match. /// </summary> /// <param name = "resetOptions">Flavor of reset operation to perform.</param> - /// <param name = "commitish">A revparse spec for the target commit object.</param> - void Reset(ResetOptions resetOptions, string commitish = "HEAD"); + /// <param name = "committish">A revparse spec for the target commit object.</param> + void Reset(ResetOptions resetOptions, string committish = "HEAD"); /// <summary> /// Replaces entries in the <see cref="Repository.Index"/> with entries from the specified commit. /// </summary> - /// <param name = "commitish">A revparse spec for the target commit object.</param> + /// <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 commitish = "HEAD", IEnumerable<string> paths = null); + void Reset(string committish = "HEAD", IEnumerable<string> paths = null); /// <summary> /// Clean the working tree by removing files that are not under version control. |