gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

V3 | Staging lines | selecting wrong lines

Open sanderBoot0 opened this issue 7 months ago • 1 comments

Version

0.14.23

Operating System

macOS

Distribution Method

dmg (Mac OS - Apple Silicon)

Describe the issue

See the recording.

When selecting lines of a file to commit, the wrong lines get selected from line 62.

There are 2 code snippits to commit: @@ -1,12 +1,21 @@ @@ -29,16 +38,41 @@

https://github.com/user-attachments/assets/e9b11188-c1c3-4203-8e98-7bb54f60f051

https://github.com/user-attachments/assets/efb496a4-65d7-458b-9ba5-b803a1780d4a

How to reproduce (Optional)

No response

Expected behavior (Optional)

I would expect that the right lines are getting staged.

Relevant log output (Optional)


sanderBoot0 avatar May 14 '25 12:05 sanderBoot0

Thanks a lot for reporting!

This looks like it's something about the selection logic in the UI, maybe @estib-vega has an intuition.

Byron avatar May 14 '25 14:05 Byron