diff options
author | Jameson Miller <jamill@microsoft.com> | 2013-08-04 15:41:44 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-08-04 15:42:41 +0400 |
commit | 0d00a5f81fec32268f65e7462764edb0762de3cc (patch) | |
tree | 53c96fd4415a350734730703785e4e9eee1ea384 | |
parent | 4d7f189a1f298304c41a25429a90751e532b2aa2 (diff) |
Deprecate old CheckoutPaths() method
-rw-r--r-- | LibGit2Sharp/IRepository.cs | 1 | ||||
-rw-r--r-- | LibGit2Sharp/Repository.cs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/LibGit2Sharp/IRepository.cs b/LibGit2Sharp/IRepository.cs index 8376d099..71fcdb20 100644 --- a/LibGit2Sharp/IRepository.cs +++ b/LibGit2Sharp/IRepository.cs @@ -122,6 +122,7 @@ namespace LibGit2Sharp /// <param name="checkoutOptions">Options controlling checkout behavior.</param> /// <param name="onCheckoutProgress">Callback method to report checkout progress updates through.</param> /// <param name="checkoutNotificationOptions"><see cref="CheckoutNotificationOptions"/> to manage checkout notifications.</param> + [Obsolete("This method will be removed in the next release. Please use CheckoutPaths(string, IEnumerable<string>, CheckoutOptions) instead.")] void CheckoutPaths(string committishOrBranchSpec, IList<string> paths, CheckoutModifiers checkoutOptions, CheckoutProgressHandler onCheckoutProgress, CheckoutNotificationOptions checkoutNotificationOptions); /// <summary> diff --git a/LibGit2Sharp/Repository.cs b/LibGit2Sharp/Repository.cs index 67b51295..6848ac60 100644 --- a/LibGit2Sharp/Repository.cs +++ b/LibGit2Sharp/Repository.cs @@ -818,6 +818,7 @@ namespace LibGit2Sharp /// <param name="checkoutOptions">Options controlling checkout behavior.</param> /// <param name="onCheckoutProgress">Callback method to report checkout progress updates through.</param> /// <param name="checkoutNotificationOptions"><see cref="CheckoutNotificationOptions"/> to manage checkout notifications.</param> + [Obsolete("This method will be removed in the next release. Please use CheckoutPaths(string, IEnumerable<string>, CheckoutOptions) instead.")] public void CheckoutPaths(string committishOrBranchSpec, IList<string> paths, CheckoutModifiers checkoutOptions, CheckoutProgressHandler onCheckoutProgress, CheckoutNotificationOptions checkoutNotificationOptions) { var opts = new CheckoutOptions |