Commit d41adba
authored
fix(tests): replace AddGlob with AddWithOptions to fix go-git v5.19.1… (#1983)
… compatibility
<!-- markdownlint-disable MD041 -->
#### 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
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>1 parent 5b88451 commit d41adba
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- api
- ocm/extensions/accessmethods/git
- tech/git
- utils/blobaccess/git
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments