Skip to content

Windows: performance regression on staging individual chunks of a file #3034

@WhiteBlackGoose

Description

@WhiteBlackGoose

Describe the bug
It takes 2-3 seconds to stage a chunk of a file (used to be instant)

To Reproduce
Steps to reproduce the behavior:

  1. Open git repo with unstaged files
  2. Select some file in Files window
  3. Hit enter
  4. Choose some line
  5. Hit space
  6. It tooks 2-3 seconds to do it

Expected behavior
It used to be instant

Screenshots
If applicable, add screenshots to help explain your problem.

Version info:
I repro-ed it only on Windows so far:

commit=5e388e21, build date=2023-08-07T14:05:48Z, build source=binaryRelease, version=0.40.2, os=windows, arch=amd64, git version=2.42.0.windows.2

If I manage to reproduce it on nix I'll git bisect it when I have time

P. S. thanks for this amazing piece of software

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions