libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

Init leaves link behind

Open Clindbergh opened this issue 2 years ago • 0 comments

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

image

Version of LibGit2Sharp (release number or SHA1)

0.26.2

Operating system(s) tested; .NET runtime tested

net6.0, Win10

Clindbergh avatar Mar 31 '22 21:03 Clindbergh