Skip to content

Repository.Init doesn't create a config file #56

@davidebbo

Description

@davidebbo

When calling Repository.Init, it does not create a .git/config file. This seems to throw off some git client. For instance, it causes GitSharp to fail when trying to open the repo.

Looking in more details, it looks like the minimal settings that makes GitSharp happy is:

[core] repositoryformatversion = 0

Should libgit2sharp be creating the config file when creating the repo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions