aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #879 from pjbgf/create-dependabot-configPaulo Gomes2023-10-251-0/+15
|\ | | | | Add dependabot configuration file
| * build: Add dependabot configurationPaulo Gomes2023-10-131-0/+15
| | | | | | | | | | | | | | | | | | | | Configure dependabot to check for Go updates daily and GitHub actions weekly. The configuration sets the commit prefix, so that it aligns with the contributing guidelines. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | Merge pull request #869 from zeripath/graph-generation-2v5.10.0Paulo Gomes2023-10-1317-58/+892
|\ \ | |/ |/| plumbing: commitgraph, Add generation v2 support
| * plumbing: commitgraph, Add generation v2 supportAndrew Thornton2023-10-1217-58/+892
| | | | | | | | | | | | | | | | 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>
* | Merge pull request #873 from ↵Paulo Gomes2023-10-132-7/+7
|\ \ | |/ |/| | | | | go-git/dependabot/go_modules/golang.org/x/net-0.17.0 build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0
| * build: bump golang.org/x/net from 0.15.0 to 0.17.0Paulo Gomes2023-10-132-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #866 from makkes/better-error-handlingPaulo Gomes2023-10-123-4/+124
|\ \ | |/ |/| Improve handling of remote errors
| * plumbing: transport/common, Improve handling of remote errorsMax Jonas Werner2023-10-123-4/+124
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #867 from pjbgf/commit-checkerPaulo Gomes2023-10-091-0/+30
|\ \ | | | | | | build: Add github workflow to check commit message format
| * | build: Add github workflow to check commit message formatPaulo Gomes2023-10-091-0/+30
|/ / | | | | | | | | | | Adds automation to confirm the commit messages align with the contributing guidelines. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | Merge pull request #868 from pjbgf/fix-fuzzPaulo Gomes2023-10-092-5/+34
|\ \ | | | | | | plumbing: protocol/packp, Add validation for decodeLine
| * | plumbing: protocol/packp, Add validation for decodeLinePaulo Gomes2023-10-072-5/+34
| |/ | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | Merge pull request #860 from enverbisevac/masterPaulo Gomes2023-10-0811-173/+353
|\ \ | | | | | | add clone --shared feature
| * | git: clone --shared implementedenverbisevac2023-10-0811-173/+353
| | |
* | | Merge pull request #854 from zeripath/graph-chainPaulo Gomes2023-10-0820-396/+1607
|\ \ \ | |_|/ |/| | plumbing: commitgraph, Allow reading commit-graph chains
| * | plumbing: commitgraph, fix types and handle commit-graph-chainsAndrew Thornton2023-10-0820-396/+1607
|/ / | | | | | | | | | | | | | | | | 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>
* | Merge pull request #858 from 0x34d/fuzzing-cleanupPaulo Gomes2023-10-064-14/+74
|\ \ | | | | | | *: add cifuzz and update fuzzers
| * | [fuzzing] cifuzz, update fuzzers, bug fixArjun Singh2023-10-064-14/+74
| |/ | | | | | | Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
* | Merge pull request #761 from liwenqiu/parse-commit-encoding-headerPaulo Gomes2023-10-042-4/+25
|\ \ | |/ |/| plumbing: parse the encoding header of the commit object
| * plumbing: parse the encoding header of the commit objectliwenqiu2023-10-042-4/+25
| | | | | | | | other part can re-code the commit message according to the encoding to this encoding info
* | Merge pull request #855 from 0x34d/fuzzingPaulo Gomes2023-10-039-0/+94
|\ \ | |/ |/| fuzzing : fuzz testing support for oss-fuzz integration
| * fuzzing : fuzz testing support for oss-fuzz integrationArjun Singh2023-10-029-0/+94
| | | | | | | | Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
* | Merge pull request #853 from zeripath/graph-sha256Paulo Gomes2023-10-012-13/+31
|\ \ | | | | | | plumbing: commitgraph, allow SHA256 commit-graphs
| * | plumbing: commitgraph, allow SHA256 commit-graphsAndrew Thornton2023-09-302-13/+31
|/ / | | | | | | | | | | | | | | 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>
* | Merge pull request #850 from pjbgf/adjust-stalePaulo Gomes2023-09-291-6/+4
|\|
| * *: Change stale bot order to ascending and improve msg formatPaulo Gomes2023-09-281-6/+4
|/ | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* Merge pull request #836 from hezhizhen/typoPaulo Gomes2023-09-2816-267/+267
|\ | | | | *: fix some typos
| * *: fix some typosZhizhen He2023-09-0816-267/+267
| | | | | | | | Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
* | Merge pull request #849 from pjbgf/close-state-issuesPaulo Gomes2023-09-271-0/+33
|\ \ | | | | | | *: Add bot to close stale issues
| * | *: Add bot to close stale issuesPaulo Gomes2023-09-271-0/+33
|/ / | | | | | | | | | | | | Due to the limited amount of active maintainers, adding a stale bot to focus the available maintainership on active PRs and issues. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | Merge pull request #847 from adityasaky/support-mergetagPaulo Gomes2023-09-272-0/+83
|\ \ | | | | | | plumbing/object: Support mergetag in merge commits
| * | plumbing/object: Support mergetag in merge commitsAditya Sirish2023-09-272-0/+83
|/ / | | | | | | | | | | | | | | 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>
* | Merge pull request #840 from nodivbyzero/fix-pull-proxy-optionsPaulo Gomes2023-09-161-0/+1
|\ \ | | | | | | git: worktree, apply ProxyOption on Pull
| * | git: worktree:: apply ProxyOption on Pull. Fixes #840nodivbyzero2023-09-151-0/+1
| | |
* | | Merge pull request #782 from ThinkChaos/feat/plain-init-branchPaulo Gomes2023-09-153-12/+40
|\ \ \ | |/ / |/| | git: add PlainInitOptions.Bare and allow using InitOptions with PlainInitWithOptions
| * | git: allow using `InitOptions` with `PlainInitWithOptions`ThinkChaos2023-09-153-3/+13
| | |
| * | git: add `PlainInitOptions.Bare`ThinkChaos2023-09-153-11/+29
|/ / | | | | | | Refactor `PlainInit` to call `PlainInitWithOptions`
* | *: Bump go-billy to v5.5.0v5.9.0Máximo Cuadros2023-09-122-3/+3
| |
* | Merge pull request #837 from pjbgf/bumpPaulo Gomes2023-09-124-32/+39
|\ \ | |/ |/| Bump dependencies and Go to 1.19
| * *: Bump to Go 1.19Paulo Gomes2023-09-123-3/+3
| | | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
| * *: Bump dependenciesPaulo Gomes2023-09-112-29/+36
|/ | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* Merge pull request #835 from matejrisek/feature/do-not-swallow-vcs-host-errorsPaulo Gomes2023-09-054-4/+35
|\ | | | | plumbing: Do not swallow http message coming from VCS providers
| * plumbing: Do not swallow http message coming from VCS providers.matej.risek2023-09-054-4/+35
| | | | | | | | | | | | 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.
* | Merge pull request #821 from daolis/bug/resetfixPaulo Gomes2023-09-043-7/+58
|\ \ | |/ |/| git: worktree, reset ignored files that are part of the worktree: Fixes #819
| * git: worktree, reset ignored files that are part of the worktree: Fixes #819Stephan2023-09-043-7/+58
|/
* Merge pull request #832 from svghadi/CVE-2023-37788Paulo Gomes2023-08-292-3/+3
|\ | | | | Update goproxy dependency to fix CVE-2023-37788 vulnerability
| * *: Bump goproxy dep. Fixes #826Siddhesh Ghadi2023-08-292-3/+3
|/ | | | | | CVE-2023-37788 is patched in goproxy v0.0.0-20230731152917-f99041a5c027 Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>
* Merge pull request #438 from john-cai/jc/commit-ammendPaulo Gomes2023-08-053-13/+72
|\ | | | | Add Amend option to CommitOptions
| * Merge branch 'master' into jc/commit-ammendPaulo Gomes2023-08-05168-1976/+5597
| |\ | |/ |/|
* | Merge pull request #820 from ninedraft/ninedraft/issue740Paulo Gomes2023-08-052-1/+19
|\ \ | | | | | | plumbing: transport, handle IPv6 while parsing endpoint. Fixes #740