git2go
git2go copied to clipboard
Git to Go; bindings for libgit2. Like McDonald's but tastier.
We have implemented a managed transport for `git2go` in [fluxcd/source-controller](https://github.com/fluxcd/source-controller/tree/main/pkg/git/libgit2/managed), which is heavily based on git2go's default implementation and it works quite well most of times. However, we have noticed...
Follow the clone example, I successfully clone repo to local path. But when I execute `git status` ,I found all files are deleted automatically. Hava any idea about this problem?...
We use `libgit2` and `git2go` a bit different than most other projects I have seen putting it to use (in the public domain), in that we have a long running...
This change introduces `NewRegisterSmartTransportWithOptions()` to help configure the smart transport with `SmartSubtransportOptions`. If the default smart subtransport client needs to be configured, a newly configured smart transport can be registered...
Uses the `GIT_OPT_GET_OWNER_VALIDATION` and `GIT_OPT_SET_OWNER_VALIDATION` options introduced in https://github.com/libgit2/libgit2/commit/4161ebdd50dc29205dcc94cba5320c6d0d2537a7
This commit introduces libgit2 v1.5.0-alpha to git2go, which brings a large number of bugfixes and features. This also marks the start of the v34 release.
Running on ubuntu 18.04 Steps: ``` $ apt list --installed | grep libssh libssh2-1/now 1.8.0-1 amd64 [installed,local] libssh2-1-dev/now 1.8.0-1 amd64 [installed,local] $ git clone https://github.com/libgit2/git2go && cd git2go $ git...
It would be great to have the mailmap functionality from libgit2 added to the go integration.
Calling [Clone](https://github.com/libgit2/git2go/blob/main/clone.go#L24) with an SSH URL like: `repo, err := Clone("[email protected]:owner/repo.git", "/some/path", opts)` Returns an error from net/url like: `parse \"[email protected]:owner/repo.git\": first path segment in URL cannot contain colon`. Is...
When you run following code: ``` func TestLibGit2InitError(t *testing.T) { // the more time pass, the possibility of openssl init error occurrence is smaller, because something cleans it time.Sleep(3 *...