objective-git
objective-git copied to clipboard
Objective-C bindings to libgit2
I'm filing that here for ease of documentation (since macOS is obviously the biggest user of the SecureTransport/CommonCrypto "backend" combination in libgit2-land). The reference implementation I started with is [here](https://github.com/keithduncan/libssh2/pull/2),...
The latest version of libgit2 with worktree support can return relative paths in git_repository_workdir. This results in `-[GTRepository fileURL]` returning an arbitrary URL depending on the current working directory. What...
As dynamic frameworks are now supported across all platforms and issues are popping up in every other Xcode version regarding modular framework inclusion @phatblat had the idea to wrap `libgit2`...
I’m using a self-signed certificate in development (local testing only) via a basic Git HTTPS server in Node.js. I see that the option to skip the certificate check was removed...
I am trying to get a list of all (including the ones not referenced by a commit) object ids in the object database. I found `git_odb_foreach()` in libgit2, but nothing...
It looks like the old way of providing libgit2 with certificate locations doesn't work without OpenSSL #499. After a little bit of research, I think that [`git_transport_certificate_check_cb`](https://github.com/libgit2/libgit2/blob/42156d561723e92ffe597885719aa63abfe0795c/include/git2/remote.h#L403) (part of `git_remote_callbacks`)...
Some types (e.g., `unresolvedTarget`) and some methods (e.g., `-referenceByUpdatingTarget…`) change their behavior based on whether the receiver is a direct or symbolic reference. We should clearly represent the differences in...
`GTConfiguration` shouldn't change out from underneath callers. See https://github.com/libgit2/libgit2/issues/1022#issuecomment-42862257 for some more explanation and a fix.
Related to #195, we assume that the author name and email are UTF-8, which results in `nil` when they're actually not. Maybe we should use a more lenient encoding for...
For example, fetching the diff for `graphics.ai` in mhettler/accuratelockandhardware.com@4e77bd2ff0775d592175afe73586d0751891be00 will result in many nil hunk headers and lines. libgit2 is giving us valid C strings — at least in the...