#7314·libgit2

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

Author: kausha87somaiyaCreated Jul 16, 2026Updated Jul 18, 2026

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?