Bug Description
Here is a test which shows the issue (works in v5 fails in v6):
func TestCloneParentDir(t *testing.T) {
// clone parent directory to in-memory storage
_, err := git.Clone(memory.NewStorage(), nil, &git.CloneOptions{
URL: "../../",
})
require.NoError(t, err)
}
go-git Version
v6.0.0-20251112161705-8cc3e21f07a9
Steps to Reproduce
No response
Additional Information
No response
Bug Description
Here is a test which shows the issue (works in v5 fails in v6):
go-git Version
v6.0.0-20251112161705-8cc3e21f07a9
Steps to Reproduce
No response
Additional Information
No response