gitx
gitx copied to clipboard
Problem selecting lines in stage view
I have no idea how to describe this:

I first noticed this while I was using a build from fe6f3e2, and this video was taken from a build of master (0378e8e).
Every other file I have tried seems to behave fine, but this .htaccess is clearly not playing nicely.
That's a mostly-known issue (to me at least 😖). The context is that the hunk parsing code is brittle, and it can get confused in some cases. The symptom I remember was deleted hunks all displaying the same "hunk" data, even from another file, but I don't know if that's related.
It's pending a switch to libgit2's index functions, instead of having to parse diffs from the cli.