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

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