@@ -40,18 +40,14 @@ public static Branch Checkout(IRepository repository, string committishOrBranchS
4040 Reference reference ;
4141 GitObject obj ;
4242
43- Console . WriteLine ( "revparsing {0}" , committishOrBranchSpec ) ;
4443 repository . RevParse ( committishOrBranchSpec , out reference , out obj ) ;
45- Console . WriteLine ( "grabbed ref {0}, obj {1}" , reference , obj ) ;
4644 if ( reference != null && reference . IsLocalBranch )
4745 {
4846 Branch branch = repository . Branches [ reference . CanonicalName ] ;
49- Console . WriteLine ( "grabbed branch {0}" , branch ) ;
5047 return Checkout ( repository , branch , options ) ;
5148 }
5249
5350 Commit commit = obj . DereferenceToCommit ( true ) ;
54- Console . WriteLine ( "dereferenced to commit {0}" , commit ) ;
5551 Checkout ( repository , commit . Tree , options , committishOrBranchSpec ) ;
5652
5753 return repository . Head ;
@@ -92,7 +88,6 @@ public static Branch Checkout(IRepository repository, Branch branch, CheckoutOpt
9288 branch . FriendlyName ) ;
9389 }
9490
95- Console . WriteLine ( "branch: {0}" , branch ) ;
9691 if ( ! branch . IsRemote && ! ( branch is DetachedHead ) &&
9792 string . Equals ( repository . Refs [ branch . CanonicalName ] . TargetIdentifier , branch . Tip . Id . Sha ,
9893 StringComparison . OrdinalIgnoreCase ) )
0 commit comments