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

[compare tree] File listed when it doesn't differ, unless committed #3226

Open
adler-amorette opened this issue Apr 10, 2024 · 0 comments
Open
Labels
bug Something isn't working triage Needs to be looked at

Comments

@adler-amorette
Copy link

Description

Steps to Reproduce

  1. Compare with another branch in the Commits panel ("Compare Working Tree with")
  2. Have a file F that's ahead in the current branch, but have no staged or unstaged changes.
  3. Change the file F to no longer be different, i.e. to be identical to the one in the compared with branch.

Observed Behavior

The file will still be listed in the comparison tree as if it differs from the one in the compared branch.

The file won't be listed only when the changes are committed.

Expected Behavior

The file should no longer be listed in the tree, since it no longer has any differences.

GitLens Version

14.9.0

VS Code Version

Version: 1.88.0 (user setup)
Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
Date: 2024-04-03T13:26:18.741Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.19045

Git Version

git version 2.44.0.windows.1

Logs, Screenshots, Screen Captures, etc

No response

@adler-amorette adler-amorette added bug Something isn't working triage Needs to be looked at labels Apr 10, 2024
@adler-amorette adler-amorette changed the title [compare tree] File listed when it doesn't differ [compare tree] File listed when it doesn't differ, unless commited Apr 10, 2024
@adler-amorette adler-amorette changed the title [compare tree] File listed when it doesn't differ, unless commited [compare tree] File listed when it doesn't differ, unless committed Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs to be looked at
Projects
None yet
Development

No branches or pull requests

1 participant