Skip to content
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

List of changed files in comparison to working tree only shows changed files in comparison to HEAD #842

Closed
pahlke opened this issue Sep 4, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pahlke
Copy link

pahlke commented Sep 4, 2019

Issue Type: Bug

In order to reproduce the bug:
Locally edit and save some files which were also altered in your last commit and some files which weren't.
Then go to the commit before that in gitLens and click "Compare with Working Tree". It will only list the files which were changed within the commit. (When you click on one of those, you edited locally, it will correctly do the comparison with the working tree version.) Seems like the selection of files gets generated according to "Compare with HEAD".

Edit: Can also be seen easier by just comparing Head to Working tree, which then is always empty.

Extension version: 9.9.3
VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:17:25.463Z)
OS version: Linux x64 5.0.0-25-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (4 x 2779)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 15.58GB (5.91GB free)
Process Argv --unity-launch
Screen Reader no
VM 0%
@pahlke
Copy link
Author

pahlke commented Sep 4, 2019

I checked with downgrading gitLens and the bug was seemingly introduced with version 9.9.1

@pahlke pahlke changed the title Outcome of comparing with Working tree only includes files which would also be there in HEAD comparison Listing of changed files for comparison to working tree only shows changed files for comparison to HEAD instead Sep 4, 2019
@pahlke pahlke changed the title Listing of changed files for comparison to working tree only shows changed files for comparison to HEAD instead List of changed files in comparison to working tree only shows changed files in comparison to HEAD Sep 4, 2019
@eamodio eamodio self-assigned this Sep 4, 2019
@eamodio eamodio added the bug Something isn't working label Sep 4, 2019
@eamodio eamodio added this to the Soon™ milestone Sep 4, 2019
@eamodio eamodio removed this from the Soon™ milestone Sep 20, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants