Edward Thomson
Edward Thomson
I think so, too. I'm not entirely sure what that API would look like - presumably a runtime opt of some sort - but it makes sense to do this...
> Messing with signals should be the app's responsibility but as a bug work-around, maybe libgit2 can get an option to compile with sigmasks in the libssh2 backend so it's...
OK, revisiting this thought -- should libgit2 really have a callback for "network function about to start" and "network function about to end"... ? What's the granularity? Is it `git_clone`...
Thanks for the investigation @enriqueraso - this needs a fix in LibGit2Sharp.
(IIUC that is - I think that the default opts structure for worktrees is wrong.)
@gwsutcliffe Does this work? ``` Repository.Clone("https://github.com/libgit2/TestGitRepository", "/tmp/testgitrepository", new CloneOptions { FetchOptions = { CredentialsProvider = ... } }); ```
Ah, yes, I see, it was changed in November. In that case: ``` var cloneOptions = new CloneOptions(); cloneOptions.FetchOptions.CredentialsProvider = ... ``` should work, no? (It looks like @mburtka was...
> Instead of just newing up the FetchOptions with the CloneOptions. While it does work, it's ugly and is counter to all the other get/set behavior of the API. Right,...
@michaelmsonne git supports long paths only when the `core.longpaths` is set as a configuration option. There's a bootstrapping problem here, which is that _you don't have a config_ during a...
That was two and a half years ago. A lot has changed since then. It's going to be tricky to isolate the problem. One question to start - what's the...