scmrepo icon indicating copy to clipboard operation
scmrepo copied to clipboard

fs: don't implicitly default to pygit2

Open efiop opened this issue 3 years ago • 0 comments

get_fs doesn't pass a trie to the fs:

https://github.com/iterative/scmrepo/blob/28973b17f747d90cc0a132dff485244191dfe29b/scmrepo/git/init.py#L300

which results in it always defaulting to pygit2

https://github.com/iterative/scmrepo/blob/28973b17f747d90cc0a132dff485244191dfe29b/scmrepo/fs.py#L175

which is against the general scmrepo behavior, where it should go through the backends.

Also GitFileSystem defaulting to pygit2 by itself is also pretty odd by itself.

efiop avatar May 31 '22 21:05 efiop