src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.91k stars 541 forks source link

PlainOpenWithOptions support symlink? #1245

Closed junnplus closed 4 years ago

junnplus commented 4 years ago

https://github.com/src-d/go-git/blob/1a7db85bca7027d90afdb5ce711622aaac9feaed/repository.go#L260

if path is a symlink, PlainOpenWithOptions can't detect .