mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-05-22 10:15:43 +02:00
f264d43a1a
After a successful paste, the "X commits copied" indicator hides and DidPaste is set, but the buffer is not cleared. If the user then range-selects multiple commits and presses shift+C, every Add() call rebuilds the set via SelectedHashSet(), which returns empty while DidPaste is true; each iteration of the copy loop therefore overwrites the previous one and only the last commit in the range survives.