-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Annoying notification from the internal git extension keeps popping up #102455
Comments
What specific issues with 2.27 are you referring to? The fact is that 2.25 and 2.26 are really broken with VS Code, so it is important that we tell users to update. But we can add an option to never ask again, sure, I'll keep this issue open to address that. |
There are several serious issues with Git for Windows 2.27, one of them even reported by me here regarding problems with PEM based private keys (old format) and weird behavior of the bundled Because of that I can't use anything newer than Git for Windows 2.26.2. until I have a definitive proof that one of the newer stable versions resolves the issue (for now version 2.28 RC does not either). The notification just adds salt to the wound and the confusing part is that even though it's marked as enabled globally (I guess that means it can't be disabled) there is no option to supress the notification. |
I believe you mean 2.27, 2.26 and 2.28 RC. Yeah, we'll add a suppress option. |
Yeah, sorry, my bad. I meant 2.27 and up. I corrected all the references. Thank you. |
FWIW Git 2.27 breaks the git svn bridge (Fixed in the latest prerelease), I got "taken" by the VS Code Update Dialog as well. |
What are the things that are broken with 2.26? It would be great if the notification linked to some more information. I couldn't find anything about serious problems fixed in Git 2.27 about Windows or VSCode in the Git release notes. It seems that 2.27 is not a good option either. Is a downgrade possible? If so, it would be useful if the message hinted at a good version number. |
This comment suggests 2.25 could be a good option: #98967 (comment) |
We also ran into issues with git 2.27 preventing us from adopting it. These types of popups would also do well to list actual git issues motivating their appearance so that devs can balance between the issues at play to make a final decision. |
It looks we're doing this notification based on known issues of old git versions: But it looks like we also many known issues of git 2.27: We need to be careful not to nag at users who have certain versions of git installed. git "api" isn't really changing that quickly - unless it breaks internals of vscode, I would heavily lobby AGAINST having any notifications like this at all. We should get rid of this notification altogether. |
@kenotron fully agree. Another option is to selectively disable features that are known to be problematic, or better yet, fall back to slower / less convenient behavior. Disabling all of Git functionality is too much. |
The current nag exists because we receive many issues because of the way Git 2.25-26 breaks path handling on Windows. These issues are resolved in 2.27.
The issue in question is basic git functionality: staging a file doesn't work. We simply can't disable that. |
This should be clarified in the message at least. I just got our infra team to upgrade to 2.27, only to read the comments here, after which I asked them to downgrade to 2.25. (From this comment I assumed it was a good version: #98967 (comment)). I guess we should downgrade to 2.24?
I haven't noticed problems using Git 2.26 on Windows using it from the command-line, so I'm wondering what exactly it is that doesn't work, and if some basic functionality could be provided despite the errors. It feels unlikely that two entire releases on Git (2.25 and 2.26) are completely broken to the point of uselessness. |
Here are the issues: https://github.com/microsoft/vscode/issues?q=is%3Aissue+2.27+is%3Aclosed It's related to git behaving stricter in terms of letter casing with a path's drive letter. |
I have verified via code review that we introduced an appropriate setting. |
Issue Type: Bug
The integrated Git extension, that comes bundled with Visual Studio Code, currently displays a notification about a newer Git version every time VSCode is started.
This means that there is no way to disable the notification, at least not that I know of.
The problem lies in the fact that Git for Windows 2.27 and newer come with a number of very annoying bugs which force people to stay with version 2.26.2.
Bottom line is - I would like not to be forced to see these notifications every single time VSCode is started. Is there any way to disable them?
VS Code version: Code 1.47.0 (d5e9aa0, 2020-07-09T08:02:06.629Z)
OS version: Windows_NT x64 10.0.19041
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Extensions (17)
The text was updated successfully, but these errors were encountered: