diff options
author | Ben Straub <bs@github.com> | 2012-12-05 03:11:26 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-12-05 03:11:26 +0400 |
commit | ed8c978b49ca5b5e5becd37cc8d71e086217672d (patch) | |
tree | 32a2c8195bbdf99dc8063204eef42a66b0418ed1 /LibGit2Sharp/BranchCollection.cs | |
parent | 3db1f92f630febc6ee2c76e891faf64e1dae0e8e (diff) |
Update libgit2 binaries to 16e6cee
https://github.com/libgit2/libgit2/compare/1e99ce9...16e6cee
Diffstat (limited to 'LibGit2Sharp/BranchCollection.cs')
-rw-r--r-- | LibGit2Sharp/BranchCollection.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/BranchCollection.cs b/LibGit2Sharp/BranchCollection.cs index 30fb0f9d..38dc492f 100644 --- a/LibGit2Sharp/BranchCollection.cs +++ b/LibGit2Sharp/BranchCollection.cs @@ -120,7 +120,7 @@ namespace LibGit2Sharp Ensure.ArgumentNotNullOrEmptyString(name, "name"); Ensure.ArgumentNotNull(commit, "commit"); - Proxy.git_branch_create(repo.Handle, name, commit.Id, allowOverwrite); + using (Proxy.git_branch_create(repo.Handle, name, commit.Id, allowOverwrite)) {} return this[ShortToLocalName(name)]; } |