@@ -219,34 +219,6 @@ private string RemoteNameFromRemoteTrackingBranch()
219219 return Proxy . git_branch_remote_name ( repo . Handle , CanonicalName , false ) ;
220220 }
221221
222- /// <summary>
223- /// Checkout the tip commit of this <see cref="Branch"/> object.
224- /// If this commit is the current tip of the branch, will checkout
225- /// the named branch. Otherwise, will checkout the tip commit as a
226- /// detached HEAD.
227- /// </summary>
228- [ Obsolete ( "This method will be removed in the next release. Please use IRepository.Checkout() instead." ) ]
229- public virtual void Checkout ( )
230- {
231- repo . Checkout ( this ) ;
232- }
233-
234- /// <summary>
235- /// Checkout the tip commit of this <see cref="Branch"/> object with
236- /// <see cref="CheckoutOptions"/> parameter specifying checkout
237- /// behavior. If this commit is the current tip of the branch, will
238- /// checkout the named branch. Otherwise, will checkout the tip
239- /// commit as a detached HEAD.
240- /// </summary>
241- /// <param name="options"><see cref="CheckoutOptions"/> controlling checkout behavior.</param>
242- /// <param name="signature">Identity for use when updating the reflog.</param>
243- [ Obsolete ( "This method will be removed in the next release. Please use IRepository.Checkout() instead." ) ]
244- public virtual void Checkout ( CheckoutOptions options , Signature signature = null )
245- {
246- Ensure . ArgumentNotNull ( options , "options" ) ;
247- repo . Checkout ( this , options , signature ) ;
248- }
249-
250222 private Branch ResolveTrackedBranch ( )
251223 {
252224 if ( IsRemote )
0 commit comments