Skip to content

build(deps): upgrade go-git from v5.18.0 to v6.0.0-alpha.2#3078

Merged
migmartri merged 1 commit intochainloop-dev:mainfrom
migmartri:worktree-stateless-growing-wadler
Apr 27, 2026
Merged

build(deps): upgrade go-git from v5.18.0 to v6.0.0-alpha.2#3078
migmartri merged 1 commit intochainloop-dev:mainfrom
migmartri:worktree-stateless-growing-wadler

Conversation

@migmartri
Copy link
Copy Markdown
Member

@migmartri migmartri commented Apr 27, 2026

Summary

  • Upgrade go-git from v5.18.0 to v6.0.0-alpha.2, the recommended migration path
  • Remove isBranchInvalidMergeError workaround for go-git#331, fixed in v6
  • Remove EnableDotGitCommonDir option (now automatic in v6)
  • Update renamed PGPSignature field to Signature

Fixes #2966

Upgrade to go-git v6 as the recommended path forward per
go-git/go-git#1943 (comment)

This removes the isBranchInvalidMergeError workaround (fixed in v6),
the EnableDotGitCommonDir option (now automatic), and updates the
PGPSignature field rename to Signature.

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri requested review from a team and jiparis April 27, 2026 20:20
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

@migmartri migmartri merged commit 47c6200 into chainloop-dev:main Apr 27, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attestation init fails: go-git v5.17.1 does not support worktreeconfig extension

2 participants