aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #975 from ↵Paulo Gomes2023-12-212-3/+3
|\ | | | | | | | | go-git/dependabot/go_modules/cli/go-git/golang.org/x/crypto-0.17.0 build: bump golang.org/x/crypto from 0.16.0 to 0.17.0 in /cli/go-git
| * build: bump golang.org/x/crypto from 0.16.0 to 0.17.0 in /cli/go-gitdependabot[bot]2023-12-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0. - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #976 from ↵Paulo Gomes2023-12-192-8/+3
|\ \ | | | | | | | | | | | | go-git/dependabot/go_modules/github.com/gliderlabs/ssh-0.3.6 build: bump github.com/gliderlabs/ssh from 0.3.5 to 0.3.6
| * | build: bump github.com/gliderlabs/ssh from 0.3.5 to 0.3.6dependabot[bot]2023-12-192-8/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/gliderlabs/ssh](https://github.com/gliderlabs/ssh) from 0.3.5 to 0.3.6. - [Release notes](https://github.com/gliderlabs/ssh/releases) - [Commits](https://github.com/gliderlabs/ssh/compare/v0.3.5...v0.3.6) --- updated-dependencies: - dependency-name: github.com/gliderlabs/ssh dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #973 from ↵Paulo Gomes2023-12-192-3/+3
|\ \ | | | | | | | | | | | | go-git/dependabot/github_actions/github/codeql-action-3 build: bump github/codeql-action from 2 to 3
| * | build: bump github/codeql-action from 2 to 3dependabot[bot]2023-12-182-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* | | Merge pull request #974 from ↵Paulo Gomes2023-12-192-3/+3
|\ \ \ | |_|/ |/| | | | | | | | go-git/dependabot/go_modules/golang.org/x/crypto-0.17.0 build: bump golang.org/x/crypto from 0.16.0 to 0.17.0
| * | build: bump golang.org/x/crypto from 0.16.0 to 0.17.0dependabot[bot]2023-12-192-3/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0. - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #972 from ↵Paulo Gomes2023-12-181-1/+1
|\ \ | |/ |/| | | | | go-git/dependabot/github_actions/actions/upload-artifact-4 build: bump actions/upload-artifact from 3 to 4
| * build: bump actions/upload-artifact from 3 to 4dependabot[bot]2023-12-181-1/+1
|/ | | | | | | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #966 from aymanbagabas/taghash-checkoutPaulo Gomes2023-12-144-17/+49
|\ | | | | git: worktree checkout tag hash id (#959)
| * git: worktree checkout tag hash id (#959)Ayman Bagabas2023-12-124-17/+49
| | | | | | | | | | | | | | Allow checking out a worktree using a tag hash id. Fixes: https://github.com/go-git/go-git/issues/959 Supersedes: https://github.com/go-git/go-git/pull/964
* | Merge pull request #969 from nodivbyzero/fix-185-setauth-err-checkPaulo Gomes2023-12-142-1/+26
|\ \ | |/ |/| plumbing: check setAuth error. Fixes #185
| * plumbing: check setAuth error. Fixes #185nodivbyzero2023-12-132-1/+26
|/
* Merge pull request #961 from ↵Paulo Gomes2023-12-112-15/+14
|\ | | | | | | | | go-git/dependabot/go_modules/cli/go-git/github.com/go-git/go-git/v5-5.11.0 build: bump github.com/go-git/go-git/v5 from 5.10.1 to 5.11.0 in /cli/go-git
| * build: bump github.com/go-git/go-git/v5 in /cli/go-gitdependabot[bot]2023-12-112-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.10.1 to 5.11.0. - [Release notes](https://github.com/go-git/go-git/releases) - [Commits](https://github.com/go-git/go-git/compare/v5.10.1...v5.11.0) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #962 from go-git/dependabot/github_actions/actions/stale-9Paulo Gomes2023-12-111-1/+1
|\ \ | | | | | | build: bump actions/stale from 8 to 9
| * | build: bump actions/stale from 8 to 9dependabot[bot]2023-12-111-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v8...v9) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #963 from go-git/dependabot/github_actions/actions/setup-go-5Paulo Gomes2023-12-112-2/+2
|\ \ | |/ |/| build: bump actions/setup-go from 4 to 5
| * build: bump actions/setup-go from 4 to 5dependabot[bot]2023-12-112-2/+2
|/ | | | | | | | | | | | | | Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #958 from pjbgf/workvalv5.11.0Paulo Gomes2023-12-084-6/+188
|\ | | | | Align worktree validation with upstream and remove build warnings
| * build: Ensure checkout is the first operationPaulo Gomes2023-12-082-6/+6
| | | | | | | | | | | | | | | | | | | | The setup-go step can be sped up by caching Go dependencies. The input for that operation is the go.sum file. Previously, the checkout operation was happening after the setup-go, which meant that go.sum was never available which effectively meant the cache was disabled. Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
| * git: worktree, Align validation with upstream rulesPaulo Gomes2023-12-082-0/+182
|/ | | | | | | | Some worktree validation rules observed upstream are not checked by go-git, leading to scenarios in which what seems to be a valid repository for go-git is not necessarily the case for the git cli. Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
* Merge pull request #953 from pjbgf/alternatesPaulo Gomes2023-12-036-64/+203
|\ | | | | storage: filesystem, Add option to set a specific FS for alternates
| * storage: filesystem, Add option to set a specific FS for alternatesPaulo Gomes2023-12-026-64/+203
|/ | | | | | | | | | | Introduces the option to set a FS for alternates, enabling more flexible cross FS sharing of alternates. If none is set, falls back to the current FS used for the object storage. The changes only process a given path once, and if an alternates dir is not valid, exits with error - aligning behaviour with upstream. Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
* Merge pull request #941 from djmoch/filestats-renamePaulo Gomes2023-12-012-2/+56
|\ | | | | plumbing: object, enable renames in getFileStatsFromFilePatches
| * plumbing: object, enable renames in getFileStatsFromFilePatchesDaniel Moch2023-11-272-2/+56
| | | | | | | | | | Diff has handled renames by default since 2020. This change sets Name for the renamed file in a manner similar to diffstat.
* | Merge pull request #939 from dhoizner/fix-pull-after-shallowPaulo Gomes2023-12-013-7/+65
|\ \ | | | | | | git: stop iterating at oldest shallow when pulling. Fixes #305
| * | git: stop iterating at oldest shallow when pulling. Fixes #305Dan Hoizner2023-11-273-7/+65
| |/
* | Merge pull request #950 from aymanbagabas/validate-refPaulo Gomes2023-12-018-3/+224
|\ \ | | | | | | git: validate reference names (#929)
| * | git: validate reference namesAyman Bagabas2023-11-308-3/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check reference names format before creating branches/tags/remotes. This should probably be in a lower level somewhere in `plumbing`. Validating the names under `plumbing.NewReference*` is not possible since these functions don't return errors. Fixes: https://github.com/go-git/go-git/issues/929
* | | Merge pull request #948 from ↵Paulo Gomes2023-11-302-15/+10
|\ \ \ | |/ / |/| | | | | | | | go-git/dependabot/go_modules/cli/go-git/github.com/go-git/go-git/v5-5.10.1 build: bump github.com/go-git/go-git/v5 from 5.10.1-0.20231107163107-e54a6ae399e9 to 5.10.1 in /cli/go-git
| * | build: bump github.com/go-git/go-git/v5 in /cli/go-gitdependabot[bot]2023-11-282-15/+10
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.10.1-0.20231107163107-e54a6ae399e9 to 5.10.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Commits](https://github.com/go-git/go-git/commits/v5.10.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #947 from ↵Paulo Gomes2023-11-282-3/+3
|\ \ | | | | | | | | | | | | go-git/dependabot/go_modules/golang.org/x/net-0.19.0 build: bump golang.org/x/net from 0.18.0 to 0.19.0
| * | build: bump golang.org/x/net from 0.18.0 to 0.19.0dependabot[bot]2023-11-282-3/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Bumps [golang.org/x/net](https://github.com/golang/net) from 0.18.0 to 0.19.0. - [Commits](https://github.com/golang/net/compare/v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #945 from ↵Paulo Gomes2023-11-282-7/+7
|\ \ | | | | | | | | | | | | go-git/dependabot/go_modules/golang.org/x/crypto-0.16.0 build: bump golang.org/x/crypto from 0.15.0 to 0.16.0
| * | build: bump golang.org/x/crypto from 0.15.0 to 0.16.0dependabot[bot]2023-11-282-7/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.16.0. - [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.16.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #936 from aymanbagabas/more-packpv5.10.1Paulo Gomes2023-11-259-112/+403
|\ \ | |/ |/| Respect pktline error-line errors
| * plumbing: transport: use git-proto-request and decode error-line errorsAyman Bagabas2023-11-235-114/+157
| |
| * plumbing: handle pktline erro-line as errorsAyman Bagabas2023-11-233-0/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error when encountering an error-line See https://git-scm.com/docs/pack-protocol Update plumbing/format/pktline/error.go Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com> Update plumbing/format/pktline/error.go Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com> feat: format newline
| * plumbing: add git-proto-request typeAyman Bagabas2023-11-232-0/+120
|/ | | | | | This the request used for the git transport protocol feat: nil writer
* Merge pull request #930 from steiler/fixSocketsPaulo Gomes2023-11-202-0/+30
|\ | | | | Ignore ModeSocket files
| * utils: merkletrie, Skip loading sockets as filesystem nodes. Fixes #312steiler2023-11-192-0/+30
| |
* | Merge pull request #752 from pjbgf/rt1Paulo Gomes2023-11-171-5/+15
|\ \ | | | | | | plumbing: transport/git, Improve tests error message
| * | plumbing: transport/git, Improve tests error messagePaulo Gomes2023-11-171-5/+15
|/ / | | | | | | | | | | | | | | | | When running the tests in an install in which git daemon is not installed (e.g. openSUSE), all the git transport tests will fail with a connection refused error. This was due the git server not being running in the first place. The tests will now fail with 'git daemon cannot be found'. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | Merge pull request #932 from aymanbagabas/fix-emptyPaulo Gomes2023-11-173-0/+24
|\ \ | | | | | | plumbing: fix empty uploadpack request error
| * | plumbing: fix empty uploadpack request errorAyman Bagabas2023-11-163-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we have all what we asked for, finish the session and handle error. This is equivalent of git "Already up to date." message. Fixes: https://github.com/go-git/go-git/issues/328 Fixes: https://github.com/go-git/go-git/issues/638 Fixes: https://github.com/go-git/go-git/issues/157
* | | Merge pull request #931 from aymanbagabas/trace-utilsPaulo Gomes2023-11-164-2/+2
|\ \ \ | |/ / |/| | utils: move trace to utils
| * | utils: move trace to utilsAyman Bagabas2023-11-164-2/+2
|/ / | | | | | | | | | | | | Without exposing `trace`, we can't set a target to enable tracing from out of go-git. Fixes: https://github.com/go-git/go-git/pull/916
* | Merge pull request #916 from aymanbagabas/tracePaulo Gomes2023-11-154-0/+157
|\ \ | | | | | | git: add tracer package