| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| | | | |
| | | | | |
*: Add Codeql workflow and bump dependencies
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- github.com/ProtonMail/go-crypto to 0.0.0-20230518184743-7afd39499903.
- github.com/skeema/knownhosts to 1.1.1.
- golang.org/x/crypto to 0.9.0.
- golang.org/x/net to 0.10.0.
- golang.org/x/sys to 0.8.0.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
git: Allow Initial Branch to be configurable
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
go-git/dependabot/go_modules/github.com/cloudflare/circl-1.3.3
build(deps): bump github.com/cloudflare/circl from 1.1.0 to 1.3.3
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.1.0 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.1.0...v1.3.3)
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|\ \ \ \
| | | | |
| | | | | |
*: Bump Go version to 1.18 on go.mod
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \
| | | | |
| | | | | |
git: remote, add support for a configurable timeout.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The previous hard-coded 10 second value is too short for listing large
repositories like https://gitlab.com/gitlab-org/gitlab
Return an error on nonsensical subzero timeout values
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
*: Small fixes across the codebase
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some areas of the code base were missing error checks,
without them it may be harder to troubleshoot unexpected
behaviours.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \
| |/ / /
|/| | | |
git: Testing, Fix tests not cleaning temp folders
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \
| | | |
| | | | |
git: Add Depth to SubmoduleUpdateOptions
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
storage: filesystem, Populate index before use. Fixes #148
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Add support for custom proxy settings
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add support for custom HTTP and HTTPS proxies for each session.
The tests require server certificate and a matching private key to be
able to run a TLS server and test HTTPS proxy functionality. The cert
and the key are stored in `plumbing/transport/http/testdata/certs` and
were generated using the following command:
`openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt`
Note: All details were left empty, except for the FQDN for which
example.com was used.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
objects
Refactor the in-built http transport to cache the underlying http
transport objects mapped to its specific options for each Git transport
object. This lets us reuse the transport for a specific set of configurations
as recommended. (ref: https://pkg.go.dev/net/http#Transport)
If there are no transport specific options provided, the default
transport is used.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
git: worktree, add check to see if file already checked in. Fixes #718
|
| | | | |
| | | | |
| | | | |
| | | | | |
Checks if an ignored file was previously checked in. If it was, then the file is not ignored matching native git behavior.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
git: fix cloning with branch name
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
git: Add support to ls-remote with peeled references. Fixes #749
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
A new PeelingOption field was introduced into ListOptions. The new options
include the default (and backwards compatible) IgnorePeeled. Plus another
two variations which either only returns peeled references (OnlyPeeled), or
append peeled references to the list (AppendPeeled).
The ls-remote example was updated to align with upstream, in which peeled
references are appended to the results by default.
A new ErrEmptyUrls error is now returned when List or ListContext do not
receive a URL to work with, to improve overall execution flow.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fix: git grep bare repositories
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Perform grep on `*Repository` instead of `*Worktree`.
Fixes: https://github.com/go-git/go-git/issues/68
|
|\ \ \ \ \
| | | | | |
| | | | | | |
build: Bump dependencies
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- github.com/ProtonMail/go-crypto to version 0.0.0-20230417170513-8ee5748c52b5.
- github.com/imdario/mergo to version 0.3.15.
- golang.org/x/crypto to version 0.8.0.
- golang.org/x/net to version 0.9.0.
- golang.org/x/sys to version 0.7.0.
- golang.org/x/text to version 0.9.0.
- github.com/go-git/gcfg to version v1.5.1-0.20230307220236-3a3c6141e376
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
storage: filesystem/dotgit, Improve load packed-refs
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
git: add mirror clone option
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Clone remote as a mirror. This fetches all remote refs, implies bare
repository, and sets the appropriate configs.
Fixes: https://github.com/go-git/go-git/issues/293
Update options.go
Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
internal: Fix regression in scp-like match
|
| |/ / /
| | | |
| | | |
| | | | |
Signed-off-by: Joseda Rios <josriolop@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
ci: Fix upstream git build for master branch
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Changes upstream broke the compatibility test, which now requires
libcurl installed in order to successfully build.
Additionally, the .git-dist dir was added to the .gitignore file.
Fixes:
https://github.com/go-git/go-git/actions/runs/4670641376/jobs/8270625669
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
*: Add support for initializing SHA256 repositories
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add a new example on initializing a new repository with object format SHA256.
A new Makefile target was created to run the example to ensure that new changes
won't break SHA256 support going forwards.
Relates to the SHA256 implementation, defined in #706.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The variable length for plumbing.Hash is defined at build time, blocked by
tag sha256.
This approach was a trade-off between keeping backwards compatibility while
making progress towards supporting SHA256 with a small amount of changes.
Relates to the SHA256 implementation, defined in #706.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Relates to the SHA256 implementation, defined in #706.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Relates to #706.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|