diff options
Diffstat (limited to 'LibGit2Sharp/Remote.cs')
-rw-r--r-- | LibGit2Sharp/Remote.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LibGit2Sharp/Remote.cs b/LibGit2Sharp/Remote.cs index e999d08d..dfff15fe 100644 --- a/LibGit2Sharp/Remote.cs +++ b/LibGit2Sharp/Remote.cs @@ -12,7 +12,7 @@ namespace LibGit2Sharp /// A remote repository whose branches are tracked. /// </summary> [DebuggerDisplay("{DebuggerDisplay,nq}")] - public class Remote : IEquatable<Remote> + public class Remote : IEquatable<Remote>, IBelongToARepository { private static readonly LambdaEqualityHelper<Remote> equalityHelper = new LambdaEqualityHelper<Remote>(x => x.Name, x => x.Url); @@ -174,5 +174,7 @@ namespace LibGit2Sharp "{0} => {1}", Name, Url); } } + + IRepository IBelongToARepository.Repository { get { return repository; } } } } |