Skip to content

fs: don't implicitly default to pygit2 #86

@efiop

Description

@efiop

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions