Skip to content

Commit 9a408b9

Browse files
committed
Deprecate the Remote property on Branch
1 parent 246fe92 commit 9a408b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

LibGit2Sharp/Branch.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ public virtual string RemoteName
182182
/// the tracked branch.
183183
/// </para>
184184
/// </summary>
185+
[Obsolete("This property is deprecated. Use Repository.Network.Remotes[] using the RemoteName property")]
185186
public virtual Remote Remote
186187
{
187188
get

0 commit comments

Comments
 (0)