wfxr / forgit

:zzz: A utility tool powered by fzf for using git interactively.
MIT License
4.32k stars 136 forks source link

Refactor: Replace deferred code in yank commands with functions #364

Closed sandr01d closed 3 months ago

sandr01d commented 3 months ago

Check list

Description

Many commands allow copying the commit hash or stash name of the current selection to the clipboard. We previously used deferred code to do so. This PR replaces the deferred code and binds these commands to functions instead.

Note

This PR belongs to #326 and resulted from discussions in #324.

Type of change

Test environment

sandr01d commented 3 months ago

Changes have been merged with #326