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

@ -5,13 +5,11 @@ import 'commit.dart';
import 'oid.dart';
import 'repository.dart';
import 'enums.dart';
import 'util.dart';
class RevWalk {
/// Initializes a new instance of the [RevWalk] class.
/// Should be freed with `free()` to release allocated memory.
RevWalk(Repository repo) {
libgit2.git_libgit2_init();
_revWalkPointer = bindings.create(repo.pointer);
}