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 · 1 comment
Assignees
Labels

Comments

@pahlke
Copy link

@pahlke 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

This comment has been minimized.

Copy link
Author

@pahlke 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 type: bug label Sep 4, 2019
@eamodio eamodio added this to the Soon™ milestone Sep 4, 2019
@eamodio eamodio closed this in 2c2741c Sep 20, 2019
@eamodio eamodio removed this from the Soon™ milestone Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.