diff --git a/LibGit2Sharp/Core/Proxy.cs b/LibGit2Sharp/Core/Proxy.cs index feb66d6c0..00d24d6c9 100644 --- a/LibGit2Sharp/Core/Proxy.cs +++ b/LibGit2Sharp/Core/Proxy.cs @@ -163,7 +163,6 @@ public static void git_branch_delete(ReferenceSafeHandle reference) { int res = NativeMethods.git_branch_delete(reference); Ensure.ZeroResult(res); - reference.SetHandleAsInvalid(); } } diff --git a/LibGit2Sharp/RemoteCollection.cs b/LibGit2Sharp/RemoteCollection.cs index 782316afb..276cf6dd5 100644 --- a/LibGit2Sharp/RemoteCollection.cs +++ b/LibGit2Sharp/RemoteCollection.cs @@ -144,7 +144,7 @@ public virtual void Remove(string name) /// /// The current remote name. /// The new name the existing remote should bear. - /// The callback to be used when problems with renaming occur. (e.g. non-default fetch refspecs) + /// The callback to be used when problems with renaming occur. (e.g. non-default fetch refspecs) /// A new . public virtual Remote Rename(string name, string newName, RemoteRenameFailureHandler callback = null) {