vscode-diff icon indicating copy to clipboard operation
vscode-diff copied to clipboard

Doesn't work when targeting symbolic link/-s

Open irvnriir opened this issue 3 years ago • 3 comments

The left and right path can't be compared!

irvnriir avatar Mar 19 '22 10:03 irvnriir

I put it on my todo list. the feature was never intended.

L13 avatar Mar 21 '22 18:03 L13

Hi,

I also have this issue in my vscode with Diff Folders. When some file in one of the compare folder is an symbolic link, it would fail with EACCES: permission denied error.

image

Maybe at least you could provide an option to ignore this kind of error for symbolic files so we could continue to compare other files in the folders. For now Diff Folders is useless if we want to do the folder comparison in VSCode....

Thanks.

htchien avatar Aug 22 '23 04:08 htchien

Hi, the idea he mentioned is not the problem you have. It seems you are using Windows and symbolic links are only fully working in admin mode. If you wanna ignore this errors the extension still provides an option which is called Abort on Error. If you disable it the scan completes and shows the file as error or unknown in the list.

L13 avatar Aug 22 '23 11:08 L13