repository.c
22.6 KB
-
repository: avoid opening the repository twice on reinit · b3aa4406
The call to repo_init_reinit already takes care of opening the repository and giving us a git_repository object to give to the caller. There is no need to call git_repository_open again.
Carlos Martín Nieto committed