commits
plumbing: commitgraph, Add generation v2 support
build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
This PR adds in support for generation v2 support and a couple of new
walkers to match --date-order etc options on log. This PR also fixes a
bug in the chain code and adds more tests.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Improve handling of remote errors
Instead of simply returning the first line that the remote returned,
go-git now actively searches all of stderr for lines that may contain
a more actionable error message and returns that.
In addition, this change adds a case to map the GitLab-specific error
message to an ErrRepositoryNotFound error.
Signed-off-by: Max Jonas Werner <mail@makk.es>
build: Add github workflow to check commit message format
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
plumbing: protocol/packp, Add validation for decodeLine
plumbing: commitgraph, Allow reading commit-graph chains
Unfortunately the original variant makes some incorrect typing
assumptions about commit-graphs which make handling graph chains
difficult to do correctly. This creates a new subpackage and deprecates
the old one. It then adds support commit graph chains.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
*: add cifuzz and update fuzzers
Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
plumbing: parse the encoding header of the commit object
other part can re-code the commit message according to the encoding to this encoding info
fuzzing : fuzz testing support for oss-fuzz integration
Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
plumbing: commitgraph, allow SHA256 commit-graphs
Since the build-tag sha256 was introduced the commit graph code should
be switched to use hash.Size and only use a graph if it has the correct
hash version for the version of go-git that is built.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
*: Add bot to close stale issues
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
plumbing/object: Support mergetag in merge commits
When a merge commit is created from merging a signed tag, the tag object
is embedded in the commit object. This commit adds support for this tag
data when encoding and decoding a commit object.
Signed-off-by: Aditya Sirish <aditya@saky.in>
git: worktree, apply ProxyOption on Pull
git: add PlainInitOptions.Bare and allow using InitOptions with PlainInitWithOptions
Refactor `PlainInit` to call `PlainInitWithOptions`
plumbing: Do not swallow http message coming from VCS providers
For diagnostics reasons we want to surface error messages coming from VCS providers.
That's why we introduce the reason field to Err struct in http package.
This field can be used by an end user of the library in order to better understand failures.
git: worktree, reset ignored files that are part of the worktree: Fixes #819
Update goproxy dependency to fix CVE-2023-37788 vulnerability
CVE-2023-37788 is patched in goproxy v0.0.0-20230731152917-f99041a5c027
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>
Add Amend option to CommitOptions
plumbing: transport, handle IPv6 while parsing endpoint. Fixes #740
*: Improve docs on examples, compatibility and extensibility
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
storage: filesystem/dotgit, add support for tmp_objdir prefix
*: Handle paths starting with ~Username
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
*: Handle paths starting with tilde
plumbing: blame, Complete rewrite. Fixes #603
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Instead of simply returning the first line that the remote returned,
go-git now actively searches all of stderr for lines that may contain
a more actionable error message and returns that.
In addition, this change adds a case to map the GitLab-specific error
message to an ErrRepositoryNotFound error.
Signed-off-by: Max Jonas Werner <mail@makk.es>
Unfortunately the original variant makes some incorrect typing
assumptions about commit-graphs which make handling graph chains
difficult to do correctly. This creates a new subpackage and deprecates
the old one. It then adds support commit graph chains.
Signed-off-by: Andrew Thornton <art27@cantab.net>