Update to libgit2 v0.23#540
Conversation
|
Reviewing the commit for API changes. Looks to me that some things cannot be done now:
Also, the documentation is not updated. |
|
You can remove refspecs via the config. What we don't provide anymore is a false sense of ORM in the remote object. There is a convenience method to add entries as that's a common operation and it's trivially doable. Removal has problems with detecing what the right thing to remove is, as well as it not being how many configuration operations are done with git. The As for configured ident, if you want to change it only temporarily, you can store the current ident and re-set it after you're done with the impersonation. This kind of behaviour should be really rare. |
|
ok thanks, new version released |
The new release is coming soon, with some large changes in how we deal with remotes, submodules and reflog operations. We don't support enough of submodules for this to be an issue, but the remotes have lost their setters and instead would have to rely on options.