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

@ -38,9 +38,7 @@ class References {
class Reference {
/// Initializes a new instance of the [Reference] class.
/// Should be freed with `free()` to release allocated memory.
Reference(this._repoPointer, this._refPointer) {
libgit2.git_libgit2_init();
}
Reference(this._repoPointer, this._refPointer);
/// Initializes a new instance of the [Reference] class by creating a new direct reference.
///