gitx icon indicating copy to clipboard operation
gitx copied to clipboard

Problem selecting lines in stage view

Open claytonrcarter opened this issue 7 years ago • 1 comments

I have no idea how to describe this:
kapture 2018-09-05 at 13 38 37

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.

claytonrcarter avatar Sep 05 '18 17:09 claytonrcarter

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.

tiennou avatar Sep 06 '18 14:09 tiennou