@@ -17,7 +17,6 @@ public class Remote : IBelongToARepository, IDisposable
17
17
internal readonly Repository repository ;
18
18
19
19
private readonly RefSpecCollection refSpecs ;
20
- private string pushUrl ;
21
20
22
21
readonly RemoteHandle handle ;
23
22
@@ -172,38 +171,6 @@ public virtual bool AutomaticallyPruneOnFetch
172
171
}
173
172
}
174
173
175
- /// <summary>
176
- /// Determines whether the specified <see cref="Object"/> is equal to the current <see cref="Remote"/>.
177
- /// </summary>
178
- /// <param name="obj">The <see cref="Object"/> to compare with the current <see cref="Remote"/>.</param>
179
- /// <returns>True if the specified <see cref="Object"/> is equal to the current <see cref="Remote"/>; otherwise, false.</returns>
180
- public override bool Equals ( object obj )
181
- {
182
- return Equals ( obj as Remote ) ;
183
- }
184
-
185
- /// <summary>
186
- /// Tests if two <see cref="Remote"/> are equal.
187
- /// </summary>
188
- /// <param name="left">First <see cref="Remote"/> to compare.</param>
189
- /// <param name="right">Second <see cref="Remote"/> to compare.</param>
190
- /// <returns>True if the two objects are equal; false otherwise.</returns>
191
- public static bool operator == ( Remote left , Remote right )
192
- {
193
- return Equals ( left , right ) ;
194
- }
195
-
196
- /// <summary>
197
- /// Tests if two <see cref="Remote"/> are different.
198
- /// </summary>
199
- /// <param name="left">First <see cref="Remote"/> to compare.</param>
200
- /// <param name="right">Second <see cref="Remote"/> to compare.</param>
201
- /// <returns>True if the two objects are different; false otherwise.</returns>
202
- public static bool operator != ( Remote left , Remote right )
203
- {
204
- return ! Equals ( left , right ) ;
205
- }
206
-
207
174
private string DebuggerDisplay
208
175
{
209
176
get
0 commit comments