Reproduction steps Unknown. We use nodegit and possibly several threads are cloning and pulling on different repositories at the same time. To avoid any confusion. No two threads ever clone or pull on the same repository. Expected behavi...
git_repository_init_options opts = GIT_REPOSITORY_INIT_OPTIONS_INIT; status = git_libgit2_init(); if (status < 0) { fprintf(stderr, "Failed to initialize libgit2: %d\n", status); exit(EXIT_FAILURE); } opts.flags |= GIT_REPOSITORY_INIT_MKPATH; opts.description = "Initialize reposito...
diff --git a/include/git2/repository.h b/include/git2/repository.h index 9ddcd3404..c4e4efc22 100644 --- a/include/git2/repository.h +++ b/include/git2/repository.h @@ -338,7 +338,8 @@ GIT_EXTERN(int) git_repository_init_options_init( * @param out Pointer to the repo which...