libgit2 / libgit2/libgit2

Intermittent Repository.Merge() failure on SMB network share with "The system cannot find the file specified"

Open
#7,314 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
10.6k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

Hi,

We're using LibGit2Sharp 0.30.0 in .Net on Windows with a Git repository hosted on a SMB network share.

We're intermittently encountering an issue while executing the following merge:

Has anyone encountered similar behavior when using LibGit2Sharp with a repository hosted on an SMB network share? Is there any known limitation, recommended diagnostic logging, or workaround for this scenario?

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.

Research direction

Start by examining the Repository.Merge() entry point and reproducing the intermittent failure against a repository on an SMB share. No source file, test, or diagnostic configuration is named; done means identifying whether this is a known limitation and documenting a confirmed workaround or useful diagnostic findings.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, git
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.