Skip to content

Commit aa70916

Browse files
committed
Drop obsolete members after release v0.21.0
1 parent 3b0f7e1 commit aa70916

File tree

2 files changed

+0
-41
lines changed

2 files changed

+0
-41
lines changed

LibGit2Sharp/Branch.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -219,34 +219,6 @@ private string RemoteNameFromRemoteTrackingBranch()
219219
return Proxy.git_branch_remote_name(repo.Handle, CanonicalName, false);
220220
}
221221

222-
/// <summary>
223-
/// Checkout the tip commit of this <see cref="Branch"/> object.
224-
/// If this commit is the current tip of the branch, will checkout
225-
/// the named branch. Otherwise, will checkout the tip commit as a
226-
/// detached HEAD.
227-
/// </summary>
228-
[Obsolete("This method will be removed in the next release. Please use IRepository.Checkout() instead.")]
229-
public virtual void Checkout()
230-
{
231-
repo.Checkout(this);
232-
}
233-
234-
/// <summary>
235-
/// Checkout the tip commit of this <see cref="Branch"/> object with
236-
/// <see cref="CheckoutOptions"/> parameter specifying checkout
237-
/// behavior. If this commit is the current tip of the branch, will
238-
/// checkout the named branch. Otherwise, will checkout the tip
239-
/// commit as a detached HEAD.
240-
/// </summary>
241-
/// <param name="options"><see cref="CheckoutOptions"/> controlling checkout behavior.</param>
242-
/// <param name="signature">Identity for use when updating the reflog.</param>
243-
[Obsolete("This method will be removed in the next release. Please use IRepository.Checkout() instead.")]
244-
public virtual void Checkout(CheckoutOptions options, Signature signature = null)
245-
{
246-
Ensure.ArgumentNotNull(options, "options");
247-
repo.Checkout(this, options, signature);
248-
}
249-
250222
private Branch ResolveTrackedBranch()
251223
{
252224
if (IsRemote)

LibGit2Sharp/Version.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,6 @@ internal static Version Build()
2525
return new Version();
2626
}
2727

28-
/// <summary>
29-
/// Returns the <see cref="System.Version" /> of the
30-
/// the LibGit2Sharp library.
31-
/// </summary>
32-
[Obsolete("This property will be removed in the next release. Please use InformationalVersion instead.")]
33-
public virtual System.Version MajorMinorPatch
34-
{
35-
get
36-
{
37-
return assembly.GetName().Version;
38-
}
39-
}
40-
4128
/// <summary>
4229
/// Returns version of the LibGit2Sharp library.
4330
/// </summary>

0 commit comments

Comments
 (0)