We're running into a case where we're pretty sure the config file should be there, but when we try to write to it, we get the following exception.
LibGit2Sharp.LibGit2SharpException: No global configuration file has been found.
at LibGit2Sharp.Configuration.RetrieveConfigurationHandle(ConfigurationLevel level)
at LibGit2Sharp.Configuration.Set[T](String key, T value, ConfigurationLevel level)
There doesn't seem to be any way to get the configuration path from Configuration. I'd like to know what Configuration thinks the global config path (we're relying on the defaults).
Even better might be a method to create the configuration file so we don't have to do it ourselves.
We're running into a case where we're pretty sure the config file should be there, but when we try to write to it, we get the following exception.
There doesn't seem to be any way to get the configuration path from
Configuration. I'd like to know whatConfigurationthinks the global config path (we're relying on the defaults).Even better might be a method to create the configuration file so we don't have to do it ourselves.