diff --git a/LibGit2Sharp/Commands/Checkout.cs b/LibGit2Sharp/Commands/Checkout.cs index 2eb0b1644..18749246f 100644 --- a/LibGit2Sharp/Commands/Checkout.cs +++ b/LibGit2Sharp/Commands/Checkout.cs @@ -40,18 +40,14 @@ public static Branch Checkout(IRepository repository, string committishOrBranchS Reference reference; GitObject obj; - Console.WriteLine("revparsing {0}", committishOrBranchSpec); repository.RevParse(committishOrBranchSpec, out reference, out obj); - Console.WriteLine("grabbed ref {0}, obj {1}", reference, obj); if (reference != null && reference.IsLocalBranch) { Branch branch = repository.Branches[reference.CanonicalName]; - Console.WriteLine("grabbed branch {0}", branch); return Checkout(repository, branch, options); } Commit commit = obj.DereferenceToCommit(true); - Console.WriteLine("dereferenced to commit {0}", commit); Checkout(repository, commit.Tree, options, committishOrBranchSpec); return repository.Head; @@ -92,7 +88,6 @@ public static Branch Checkout(IRepository repository, Branch branch, CheckoutOpt branch.FriendlyName); } - Console.WriteLine("branch: {0}", branch); if (!branch.IsRemote && !(branch is DetachedHead) && string.Equals(repository.Refs[branch.CanonicalName].TargetIdentifier, branch.Tip.Id.Sha, StringComparison.OrdinalIgnoreCase)) diff --git a/LibGit2Sharp/Core/Proxy.cs b/LibGit2Sharp/Core/Proxy.cs index 8fcd8c48a..bf81a4a9d 100644 --- a/LibGit2Sharp/Core/Proxy.cs +++ b/LibGit2Sharp/Core/Proxy.cs @@ -3016,7 +3016,6 @@ public static unsafe ObjectId git_submodule_index_id(SubmoduleHandle submodule) public static unsafe ObjectId git_submodule_head_id(SubmoduleHandle submodule) { - Console.WriteLine("got git_oid for head {0}", NativeMethods.git_submodule_head_id(submodule) == null); return ObjectId.BuildFromPtr(NativeMethods.git_submodule_head_id(submodule)); }