microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.64k stars 29.04k forks source link

Lost git status for file modifications #190550

Closed zoleo9527 closed 1 year ago

zoleo9527 commented 1 year ago

Type: Bug

When a file is modified, M (git status) will normally be displayed after the file to indicate that the file has been modified; but sometimes this status will be lost, and it will appear occasionally for unknown reasons.

VS Code version: Code 1.81.1 (Universal) (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:20:33.924Z) OS version: Darwin x64 22.5.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|4, 2, 2| |Memory (System)|16.00GB (1.77GB free)| |Process Argv|--crash-reporter-id cc680b71-fd9e-4eab-9092-21b582a3261f| |Screen Reader|no| |VM|0%|
Extensions (18) Extension|Author (truncated)|Version ---|---|--- vscode-eslint|dba|2.4.2 go|gol|0.39.1 vscode-drawio|hed|1.6.6 vscode-language-pack-zh-hans|MS-|1.81.2023080209 python|ms-|2023.14.0 vscode-pylance|ms-|2023.8.20 remote-ssh|ms-|0.102.0 remote-ssh-edit|ms-|0.86.0 remote-explorer|ms-|0.4.1 sqltools|mtx|0.28.0 sqltools-driver-mysql|mtx|0.6.0 sftp|Nat|1.16.3 vetur|oct|0.37.3 vscode-yaml|red|1.14.0 code-spell-checker|str|2.20.5 vscode-icons|vsc|12.5.0 JavaScriptSnippets|xab|1.8.0 vscode-proto3|zxh|0.5.5
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 vscccc:30803845 2e4cg342:30602488 f6dab269:30613381 showlangstatbar:30737416 pythonfmttext:30731395 pythoncmvfstrcf:30756944 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 gsofa:30804715 pythonnosmt12:30797651 pythonidxptcf:30805731 pythonnoceb:30805159 dsvsc013:30795093 dsvsc014:30804076 diffeditorv2:30812749 ```
lszomoru commented 1 year ago

@zoleo9527, are you able to provide steps to reproduce this? Thank you!

vscodenpa commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!