@@ -17,7 +17,6 @@ public class Remote : IBelongToARepository, IDisposable
1717 internal readonly Repository repository ;
1818
1919 private readonly RefSpecCollection refSpecs ;
20- private string pushUrl ;
2120
2221 readonly RemoteHandle handle ;
2322
@@ -172,38 +171,6 @@ public virtual bool AutomaticallyPruneOnFetch
172171 }
173172 }
174173
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-
207174 private string DebuggerDisplay
208175 {
209176 get
0 commit comments