Files
lazygit/pkg/gui
Stefan HallerandClaude Opus 5.5 2a3883f502 Show an error if the commit to discard lines from can't be found
Discarding lines from a commit's diff rewrites the commit with a
rebase. For this we look up the commit among the commits of the
current branch. If it isn't there, pressing the key does nothing. The
disabled reason only allows discarding in a diff of the commits panel,
so this shouldn't happen. If it does, the user should see it.

Show an error that names the commit instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-10 13:04:41 +02:00
..
2026-09-27 08:16:06 +02:00
2026-07-31 08:42:51 +02:00
2025-07-08 15:14:45 +02:00
2025-05-06 09:43:26 +02:00
2026-08-31 20:41:22 +02:00
2026-08-31 20:41:22 +02:00
2026-10-05 14:55:13 +02:00