libgit2 / libgit2/libgit2sharp
_git2_xxxxxx folder is created
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
Reproduction steps
Clone Azure Dev Ops repository.
Expected behavior
Created folder contains only .git folder and the repository content.
Actual behavior
Created folder contains .git folder, the repository content and additional _git2_xxxxxx folder.

How to prevent its creation?
Version of LibGit2Sharp (release number or SHA1)
0.26.2 nuget package version
Operating system(s) tested; .NET runtime tested
.NET Framework 4.6.2
WPF application

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Azure DevOps clone with LibGit2Sharp 0.26.2 on .NET Framework 4.6.2 and inspect the generated repository tree, including the _git2_xxxxxx folder. Compare the result with the stated expected layout; done means identifying the trigger and preventing the extra folder without altering the .git directory or repository content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100