Skip to content

Timeline: cant select compare between local saves and git commits #225360

Closed as not planned

Description

Type: Bug

  • Explorer -> Timeline -> "Select for Compare" then "Compare with Selected"

Works: when both items are local saves.
Works: when both items are git commit points
Does not work: when one is a local save and another is a git commit point.

What it does: Shows the same file twice with no changes
What I expect: Should show the differences

VS Code version: Code 1.92.0 (b1c0a14, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.81GB (6.06GB free)
Process Argv --crash-reporter-id c01a88f8-c0b0-48c5-9002-8d62a171f8a7
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 0)
Memory (System) 24.46GB (13.19GB free)
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 0)
Memory (System) 24.46GB (13.19GB free)
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 0)
Memory (System) 24.46GB (13.19GB free)
VM 0%
Extensions (31)
Extension Author (truncated) Version
vscode-neovim asv 1.18.7
vsc-material-theme Equ 34.5.2
vscode-peacock joh 4.2.2
jupyter-keymap ms- 1.1.2
remote-wsl ms- 0.88.2
gitlens eam 2024.8.1005
prettier-vscode esb 10.4.0
copilot Git 1.221.0
copilot-chat Git 0.18.1
vscode-test-explorer hbe 2.21.1
vscode-python-test-adapter lit 0.8.2
git-graph mhu 1.30.0
black-formatter ms- 2024.2.0
debugpy ms- 2024.10.0
python ms- 2024.12.2
vscode-pylance ms- 2024.8.1
jupyter ms- 2024.8.2024080201
test-adapter-converter ms- 0.1.9
python-line-profiler Per 0.4.0
node-extra-ca-certs-vscode pha 1.0.1
java red 1.33.0
sql-formatter-vsc Ren 4.1.1
code-spell-checker str 3.0.1
win-ca uko 3.5.1
intellicode-api-usage-examples Vis 0.2.8
vscodeintellicode Vis 1.3.1
vscode-java-debug vsc 0.58.0
vscode-java-dependency vsc 0.24.0
vscode-java-pack vsc 0.28.0
vscode-java-test vsc 0.42.0
vscode-maven vsc 0.44.0
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-c:31111717
wkspc-ranged-c:31111712

Activity

  1. vs-code-engineering commented on Aug 11, 2024

    @vs-code-engineering
    Contributor

    Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.92.1. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  2. jpmorris commented on Aug 11, 2024

    @jpmorris
    Author

    I used the lastest version 1.92.1 from a a different computer (no WSL, LInux), disabled all extensions and same thing happens. On this other machine, the git/local compare does not even open.

  3. added
    timeline
    under-discussion
    on Aug 20, 2024
  4. added
    feature-request
    and removed
    under-discussion
    on Dec 9, 2024
  5. vs-code-engineering commented on Dec 9, 2024

    @vs-code-engineering
    Contributor

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  6. vs-code-engineering commented on Jan 29, 2025

    @vs-code-engineering
    Contributor

    This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  7. vs-code-engineering commented on Feb 9, 2025

    @vs-code-engineering
    Contributor

    🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  8. fweth commented on Jul 30, 2026

    @fweth

    Ugh, why did this get closed? This is a proper bug, if you don't plan to allow comparison between commits and saves, then remove 'Select for Compare' from the context menu, but now it's confusing because it's not really clear what happens when you click this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requesttimeline

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions