Skip to content

VSCode shows changes on symlink file even if git says no changes #135778

@MichaelFlucher

Description

@MichaelFlucher

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.61.2 / 1.62.0 insiders build
  • OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:

  1. Create a new folder
  2. run git init
  3. Create a file sample.txt with simple text content like "Sample Document"
  4. Create a Symlink using PowerShell: New-Item -Path .\symlink.txt -ItemType SymbolicLink -Value .\sample.txt
  5. Commit both files
  6. Inside the symlink file there are changes listed, as in git it only contains the path:
    image
  7. Git says everything okay, no changes:
> git status                                                                           
On branch master
nothing to commit, working tree clean

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)gitGIT issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions