Skip to content

Commit 8e47d87

Browse files
committed
Remove obsolete Branch.AheadBy/BehindBy
1 parent bed510a commit 8e47d87

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

LibGit2Sharp/Branch.cs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -94,30 +94,6 @@ public virtual bool IsTracking
9494
get { return TrackedBranch != null; }
9595
}
9696

97-
/// <summary>
98-
/// Gets the number of commits that exist in this local branch but don't exist in the tracked one.
99-
/// <para>
100-
/// This property will return null if there is no tracked branch linked to this local branch.
101-
/// </para>
102-
/// </summary>
103-
[Obsolete("This property will be removed in the next release. Please use TrackingDetails.AheadBy instead.")]
104-
public virtual int? AheadBy
105-
{
106-
get { return TrackingDetails.AheadBy; }
107-
}
108-
109-
/// <summary>
110-
/// Gets the number of commits that exist in the tracked branch but don't exist in this local one.
111-
/// <para>
112-
/// This property will return null if there is no tracked branch linked to this local branch.
113-
/// </para>
114-
/// </summary>
115-
[Obsolete("This property will be removed in the next release. Please use TrackingDetails.BehindBy instead.")]
116-
public virtual int? BehindBy
117-
{
118-
get { return TrackingDetails.BehindBy; }
119-
}
120-
12197
/// <summary>
12298
/// Gets additional information about the tracked branch.
12399
/// </summary>

0 commit comments

Comments
 (0)