vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Git: The status of the git file is incorrect.

Open 1684838553 opened this issue 7 months ago • 1 comments

版本: 1.100.2 (user setup) 提交: 848b80aeb52026648a8ff9f7c45a9b0a80641e2e 日期: 2025-05-14T21:47:40.416Z Electron: 34.5.1 ElectronBuildId: 11369351 Chromium: 132.0.6834.210 Node.js: 20.19.0 V8: 13.2.152.41-electron.0 OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

  1. Connect to the remote server through WSL and open a directory
  2. Link a file to the current directory Please pay attention to the commands I carry out Image
  3. Submit this file and open this file Image The results I expect: The file has not been modified. The line decorator should not be displayed when the current file is opened.

1684838553 avatar May 23 '25 09:05 1684838553

Did you save the file?

albertosantini avatar May 23 '25 12:05 albertosantini

Did you save the file?

Yes, the file has been saved

1684838553 avatar May 26 '25 01:05 1684838553

The issue here is that when adding a symbolic link to a git repository, git will only store the target location of the symbolic link and not its contents. I have pushed a fix so that no quick diff indicator will be shown for symbolic links which is aligned with how other editors handle symbolic links.

lszomoru avatar May 28 '25 09:05 lszomoru

Hello, do you have a package for this? I'd like to verify it. @lszomoru

1684838553 avatar May 29 '25 03:05 1684838553

@1684838553 I think, if I am not wrong, it is in insider.

albertosantini avatar May 29 '25 06:05 albertosantini

@1684838553 I think, if I am not wrong, it is in insider.

Okay, thanks.

1684838553 avatar May 29 '25 07:05 1684838553

@1684838553 were you able to verify that this fixed the issue in insiders

amunger avatar Jun 06 '25 19:06 amunger

Yes, the issue has been fixed

---Original--- From: "Aaron @.> Date: Sat, Jun 7, 2025 03:56 AM To: @.>; Cc: @.@.>; Subject: Re: [microsoft/vscode] Git: The status of the git file is incorrect.(Issue #249607)

amunger left a comment (microsoft/vscode#249607)

@1684838553 were you able to verify that this fixed the issue in insiders

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

1684838553 avatar Jun 07 '25 02:06 1684838553