libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

Repository.Merge fails with 'The filename or extension is too long.'

Open YuraBazuka33 opened this issue 4 years ago • 2 comments

Hello, I'm using LibGit2Sharp and get the 'The filename or extension is too long' error when I run merge command. repository.Merge(branch, new Signature(_credentials.Username, $@"{_credentials.Username}@gmail.com", DateTime.Now), _mergeOptions); I've set enabling long path in win registry and windows group policy. Also in git config core.longpaths is true but issue is still reproduce. Have you any ideas for resolving this problem?

Thanks.

YuraBazuka33 avatar Sep 17 '21 08:09 YuraBazuka33

See #1805

phatcher avatar Nov 01 '21 14:11 phatcher

I found solution here https://forum.uipath.com/t/error-libgit2sharp-libgit2sharpexception-path-too-long/462510/3

SaurabhRaoot avatar Sep 14 '23 16:09 SaurabhRaoot