Skip to content

Regression in 9.9.2: Clicking changed file in Repository Browser opens diff view between WorkingTree <-> WorkingTree, not index #812

@dsmythe

Description

@dsmythe

I just noticed this today, I'm assuming it's from a recent update.

The previous behavior was that when you clicked a modified file in the "N files changed" dropdown under the checked out repository in the Repository browser, it opened a diff view of those unstaged changes ( which I believe is comparing the working tree to the index ). This allowed you to select ranges to stage or view what was being changed as you staged files for commit.

Now, it opens a diff view between the working tree and the working tree, which as you guessed, does not display any changes because it's comparing the same things.

Tried to find configuration settings that would modify the behavior but could not. I asssume it's the result of a recent change in the last week or so as there are similar bugs resolved that presumably hit the same area of code.

Thanks!

  • GitLens Version: 9.9.2
  • VSCode Version: 1.36.1 (1.36.1)
  • OS Version: Mac Mojave 10.14.3

Steps to Reproduce:

  1. Open any repository in the Repository browser of GitLens
  2. Modify any tracked file
  3. Click the file listed under the changed files
  4. Observe the diff view open but comparing WorkingTree <-> WorkingTree

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions