build(deps): bump github.com/go-git/go-git/v6 from 6.0.0-alpha.1 to 6.0.0-alpha.2#977
Merged
gtrrz-victor merged 3 commits intomainfrom Apr 18, 2026
Conversation
Bumps [github.com/go-git/go-git/v6](https://github.com/go-git/go-git) from 6.0.0-alpha.1 to 6.0.0-alpha.2. - [Release notes](https://github.com/go-git/go-git/releases) - [Commits](go-git/go-git@v6.0.0-alpha.1...v6.0.0-alpha.2) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v6 dependency-version: 6.0.0-alpha.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
v6-alpha.2 changes two things that break the tree: 1. config.NewEmpty() now returns an unexported *static rather than plugin.ConfigSource, so passing it directly to plugin.Register's generic func() T no longer infers ConfigSource. Wrap it in a closure in every TestMain that registers it. 2. config.LoadConfig(scope) is deprecated in favor of the ConfigLoader plugin. Migrate GetGitAuthorFromRepo to repo.ConfigScoped, which returns local+global merged (local wins), matching git's own resolution and dropping the manual two-call fallback. main.go now blank-imports x/plugin so the default NewAuto loader is registered in production. Tests that exercise the global-config fallback need to temporarily swap the TestMain-installed NewEmpty plugin for NewAuto (which reads \$HOME/.gitconfig). Add a useAutoConfigLoader(t) helper in both packages' global_test.go that performs the swap and restores NewEmpty on cleanup, and also sets GIT_CONFIG_NOSYSTEM=1 so the host's /etc/gitconfig does not leak into tests. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Entire-Checkpoint: 1d2a4a2b6694
gtrrz-victor
approved these changes
Apr 18, 2026
…it/v6-6.0.0-alpha.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps github.com/go-git/go-git/v6 from 6.0.0-alpha.1 to 6.0.0-alpha.2.
Release notes
Sourced from github.com/go-git/go-git/v6's releases.
... (truncated)
Commits
137874fMerge pull request #1997 from aymanbagabas/http-hardening38f2574plumbing: transport/http, Add support for FollowRedirects to align with upstreamf4af53cplumbing: transport/http, Apply redirection rules to custom clients0020ab6plumbing: http, harden redirect handling in http transport71c0311Merge pull request #1924 from pjbgf/config-plugin9eef6d1x: plugin/config, Consolidate Auto tests and fix Windows compatibility06b2bd9x: plugin/config: Make Auto the default plugin9191eb9x: plugin/config, Add Auto ConfigSource implementation835918aconfig: Deprecate LoadConfig and Paths in favour of ConfigLoader5779608Merge pull request #1992 from stiak/fix-missing-haves-negotiationDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)