Skip to content

[BUG] - Doesn't find the right numbers of lines for "commit ID" branchs #189

@onihilist

Description

@onihilist

Describe the bug
When you are on the tree view on a repo, if you select a previous commit and switch to the tree view.
Gloc will still calculate the numbers of lines into the main branch

To Reproduce

This is the main branch, we can see 440 lines
Image

But when you click on commits :
Image

After that you select a specific commit, and click on the top right on "Browse files":
Image

The number of lines are still the same :
Image

Expected behavior

Gloc should calculate/count again the number of lines.

Desktop (please complete the following information):

  • OS: Windows10Pro 22H2
  • Browser: Edge Version 140.0.3485.81
  • Version: Gloc Version 10.1.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions