mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
refactor: remove unnecessary git_libgit2_init()
This commit is contained in:
parent
ce9384cac9
commit
6bd04bb09d
5 changed files with 1 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue