We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67aa03c commit 4f26e65Copy full SHA for 4f26e65
modules/git/repo_base_gogit.go
@@ -81,7 +81,7 @@ func OpenRepository(ctx context.Context, repoPath string) (*Repository, error) {
81
if strings.HasSuffix(altPath, "objects") {
82
altPath = filepath.Dir(altPath)
83
}
84
- options.AlternatesFS = osfs.New(altPath)
+ options.AlternatesFS = osfs.New(altPath, osfs.WithBoundOS())
85
break
86
87
0 commit comments