-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Staging chunk in file discards previous staged chunks #63386
Comments
(Experimental duplicate detection) |
Can you show me a screen recording of the issue? |
Sure: As you may see, I started with clean document, but VSC showed that one line was modified (was modified earlier, as it took me 2 attemps to record this, but I removed modifications by using git). Aside from that non existent modif, VSC is clearly swapping between two staged versions. One line was added to staging and then the second should be added, but it swapped the staged versions. |
OK that is weird. That sounds like it's the actual issue, not your original description. So, does VS Code not react to git repo events? |
Hard to tell actually, because commits are updated. I'll check if reopening a file forces VSCode to record all new operations on repo. I'm kinda suprised that nobody earlier spotted this issue, staging different things directly from VS seems to be quite popular workflow. EDIT: Yup, reloading the file fixes this. |
I can't reproduce it, I bet most people can't.
You mean, closing and opening it? Then, how easy is it for you to hit the issue? |
Yep, reopening fixes that visual bug. As it's happening to every file in every repo, quite easy. I'll try deleting all local files and unistalling VS Code, maybe it won't occur in clean install. |
If you want to simulate a clean install simply run with |
Nope, switching folders and even reinstalling didn't help at all. |
/duplicate #64027 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
Issue Type: Bug
+
signVS Code version: Code - OSS 1.30.0 (610918d, 2018-11-18T15:05:55.294Z)
OS version: Linux x64 4.9.135-1-MANJARO
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: unavailable_software
video_encode: unavailable_software
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: