wfxr / forgit

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

Move fzf options into $opts variables #384

Closed sandr01d closed 2 months ago

sandr01d commented 2 months ago

Check list

Description

_forgit_stash_push, _forgit_revert_commit and _forgit_blame passed some fzf options as arguments directly instead of defining them in the $opts variable, as we do everywhere else. This change makes these functions consistent with the rest of the code base and additionally allows overriding said options with the respective $FORGIT_*_FZF_OPTS environment variables.

Type of change

Test environment