refactor: remove unnecessary git_libgit2_init()

This commit is contained in:
Aleksey Kulikov 2021-09-01 16:59:07 +03:00
parent ce9384cac9
commit 6bd04bb09d
5 changed files with 1 additions and 8 deletions

View file

@ -18,7 +18,6 @@ class Tree {
///
/// Should be freed with `free()` to release allocated memory.
Tree.lookup(Repository repo, Oid id) {
libgit2.git_libgit2_init();
_treePointer = bindings.lookup(repo.pointer, id.pointer);
}