libgit2 / libgit2sharp

Git + .NET = ❤
http://libgit2.github.com
MIT License
3.13k stars 879 forks source link

`Commands.Fetch` could not resolve file based remote path #1996

Open dehghani-mehdi opened 1 year ago

dehghani-mehdi commented 1 year ago

Reproduction steps

  1. Create bare repository
  2. Clone that
  3. Try to fetch using Commands.Fetch

Expected behavior

Commands.Fetch should work as git fetch works

Actual behavior

failed to resolve path 'file://PAHT/TO/BARE/REPOSITORY': The filename, directory name, or volume label syntax is incorrect.

Version of LibGit2Sharp (release number or SHA1)

0.26.2

Operating system(s) tested; .NET runtime tested

Windows 10 x64 - .NET 6