SIGN IN SIGN UP

Clear cherry-pick buffer when copying after a paste

After a successful paste DidPaste is true, hiding the "X commits copied"
indicator but leaving the buffer populated. From the user's perspective
this looks like a clean slate, so a new shift+C should start fresh. It is
important to reset DidPaste first, before populating the buffer with the new
commits, because otherwise each loop iteration would overwrite the previous one
since Add() rebuilds the set via SelectedHashSet() which returns empty while
DidPaste is set.
S
Stefan Haller committed
7a2d1ab544c702e1ca51be25730ad8a30bb6a19c
Parent: f264d43