vscode: [1.76.1] Git decorations not shown in 1.76.1
Type: Bug
Open changed file in 1.76.0. Observe decorations existing on the gutter. Upgrade to 1.76.1. Decorations gone in the same workspace, with the same file(s) opened. Or not gone. The behavior of 1.76.1 is erratic. Same types of files could show decorations or not.
Git is git-for-windows force configured in settings, picked proper.
2023-03-10 13:40:43.472 [info] Log level: Info
2023-03-10 13:40:43.473 [info] Validating found git in: "C:\Programs\Git\bin\git.exe"
2023-03-10 13:40:44.743 [info] Using git "2.37.2.windows.2" from "C:\Programs\Git\bin\git.exe"
2023-03-10 13:40:46.389 [info] > git rev-parse --show-toplevel [1581ms]
2023-03-10 13:40:47.468 [info] > git rev-parse --git-dir --git-common-dir [915ms]
2023-03-10 13:40:47.475 [info] Open repository: <project>
2023-03-10 13:40:48.520 [info] > git config --get commit.template [969ms]
2023-03-10 13:40:48.520 [info] > git rev-parse --show-toplevel [1002ms]
2023-03-10 13:40:48.875 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/DEVSTR-580 refs/remotes/DEVSTR-580 [1313ms]
2023-03-10 13:40:49.837 [info] > git rev-parse --show-toplevel [1228ms]
2023-03-10 13:40:49.965 [info] > git check-ignore -v -z --stdin [1275ms]
2023-03-10 13:40:50.474 [info] > git status -z -uall [1584ms]
2023-03-10 13:40:51.650 [info] > git rev-parse --show-toplevel [1688ms]
2023-03-10 13:40:52.217 [info] > git config --get commit.template [1666ms]
2023-03-10 13:40:52.305 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/DEVSTR-580 refs/remotes/DEVSTR-580 [1598ms]
2023-03-10 13:40:52.319 [info] > git rev-parse --show-toplevel [569ms]
2023-03-10 13:40:52.386 [info] > git check-ignore -v -z --stdin [603ms]
2023-03-10 13:40:52.906 [info] > git rev-parse --show-toplevel [575ms]
2023-03-10 13:40:53.351 [info] > git status -z -uall [1033ms]
2023-03-10 13:40:53.418 [info] > git rev-parse --show-toplevel [483ms]
2023-03-10 13:40:53.968 [info] > git rev-parse --show-toplevel [514ms]
2023-03-10 13:40:54.770 [info] > git rev-parse --show-toplevel [744ms]
2023-03-10 13:40:55.125 [info] > git rev-parse --show-toplevel [302ms]
2023-03-10 13:40:55.302 [info] > git rev-parse --show-toplevel [160ms]
2023-03-10 13:40:55.420 [info] > git rev-parse --show-toplevel [104ms]
2023-03-10 13:40:55.626 [info] > git rev-parse --show-toplevel [193ms]
2023-03-10 13:40:56.033 [info] > git show --textconv :app/admin/admin_cp.js [366ms]
2023-03-10 13:40:56.121 [info] > git ls-files --stage -- <project>:app\admin\admin_cp.js [431ms]
2023-03-10 13:40:56.400 [info] > git cat-file -s 7dd000c11366e6131ef18cefdf2b9022248522ee [260ms]
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i3-8145U CPU @ 2.10GHz (4 x 2304) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | undefined |
Memory (System) | 7.86GB (0.65GB free) |
Process Argv | –folder-uri file:///d%3A/Profiles/anrdaemon/Documents/hk/invapi-php |
Screen Reader | no |
VM | 0% |
Extensions (30)
Extension | Author (truncated) | Version |
---|---|---|
vscode-json | and | 1.5.2 |
vscode-intelephense-client | bme | 1.9.5 |
vscode-eslint | dba | 2.4.0 |
diff | dup | 0.0.1 |
gitlens | eam | 13.3.2 |
vscode-html-css | ecm | 1.13.1 |
EditorConfig | Edi | 0.16.4 |
vscode-firefox-debug | fir | 2.9.8 |
todo-tree | Gru | 0.0.224 |
better-shellscript-syntax | jef | 1.4.5 |
bash-ide-vscode | mad | 1.35.0 |
jupyter | ms- | 2023.2.1200692131 |
jupyter-keymap | ms- | 1.1.0 |
jupyter-renderers | ms- | 1.0.15 |
vscode-jupyter-cell-tags | ms- | 0.1.6 |
vscode-jupyter-slideshow | ms- | 0.1.5 |
remote-ssh | ms- | 0.98.0 |
remote-ssh-edit | ms- | 0.84.0 |
hexeditor | ms- | 1.9.11 |
remote-explorer | ms- | 0.2.0 |
sqltools | mtx | 0.27.1 |
sqltools-driver-mysql | mtx | 0.5.1 |
sqltools-driver-pg | mtx | 0.5.1 |
sqltools-driver-sqlite | mtx | 0.5.0 |
php-docblocker | nei | 2.7.0 |
tcl | ras | 0.1.0 |
LiveServer | rit | 5.7.9 |
html-to-css-autocompletion | sol | 1.1.2 |
branch-in-window-title | wis | 0.1.4 |
php-debug | xde | 1.32.0 |
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 42
- Comments: 35 (7 by maintainers)
Stable update is planned for today.
I rolled back to 1.76.0 and cancel the auto update. Then the git decorations are shown. You can download the older version in this link: https://code.visualstudio.com/docs/supporting/faq#_previous-release-versions
I have a feeling this is not related to multi-root workspace at all.
I just rolled back from 1.76.1 to 1.76.0 and the issue is gone.
Edit: I followed these instructions to downgrade, mainly to get the correct older installer: https://stackoverflow.com/questions/49346733/how-to-downgrade-vscode/49347158#49347158 In case somebody else wants to check if 1.76.0 brings back the git decorations.
I checked, I am not, just a single root folder with all its subfolders.
Same, updated to 1.76.1, and now in folder tree: “file is modified” but there are no highlights(git decor) beside line numbers
was updated to 1.76.2, gutter started showing
@KristofStroobants, it looks like you don’t have any local changes. This issue is about these git gutter decorations:
Same issue here. Tested on local repos (not symlinked or anything fancy), deactivated all 3rd party extensions but still no gutter decoration at all. Uninstalled VSCode, reinstalled latest (1.76.1), checked again, but same issue.
Rollback to 1.75.1 worked for me, but didn’t test rollback to any earlier 1.76.x
(windows 10, 19045)
Can confirm as well. No more git changes are being displayed for the currently opened files. Changes are now only visible in the Source Control Panel.
Version: 1.77.0-insider (user setup) Commit: b60db78000bfa99d1b290194ed4651c4ceef02cc Date: 2023-03-10T05:24:23.805Z (7 hrs ago) Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: Yes