Skip to content

fix(tests): replace AddGlob with AddWithOptions to fix go-git v5.19.1…#1983

Merged
frewilhelm merged 2 commits into
open-component-model:mainfrom
matthiasbruns:fix/go-git-v5.19.1-test-compat
Jun 1, 2026
Merged

fix(tests): replace AddGlob with AddWithOptions to fix go-git v5.19.1…#1983
frewilhelm merged 2 commits into
open-component-model:mainfrom
matthiasbruns:fix/go-git-v5.19.1-test-compat

Conversation

@matthiasbruns
Copy link
Copy Markdown
Contributor

… compatibility

What this PR does / why we need it

Fixes broken update to go-git v1.59.1

Why it broke:
go-git v5.19.1 added a worktreeFilesystem security wrapper (go-git/go-git#2100).

The wrapper rejects components named .git. This PR removed the hardening with AddWithOptions(&git.AddOptions{All: true})

Which issue(s) this PR is related to

Fixes: #1965

@matthiasbruns matthiasbruns requested a review from a team as a code owner June 1, 2026 11:30
@github-actions github-actions Bot added kind/bugfix Bug size/xs Extra small labels Jun 1, 2026
… compatibility

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@frewilhelm frewilhelm merged commit d41adba into open-component-model:main Jun 1, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bugfix Bug size/xs Extra small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants