libgit2sharp
libgit2sharp copied to clipboard
Init leaves link behind
Reproduction steps
// See https://aka.ms/new-console-template for more information
using LibGit2Sharp;
var tempPath = Path.Combine(Path.GetTempPath(), new Random().NextInt64().ToString());
var repoDirectory = Repository.Init(tempPath);
Console.WriteLine($"Created repo at {repoDirectory}");
Expected behavior
An empty directory with nothing but the .git
directory.
Actual behavior
Version of LibGit2Sharp (release number or SHA1)
0.26.2
Operating system(s) tested; .NET runtime tested
net6.0, Win10