_git2_xxxxxx folder is created

Open
#1,989 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, git
Domain
devtools

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.

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.
image

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
image

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libgit2/libgit2sharp

All issues in libgit2/libgit2sharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.