wfxr / forgit

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

Add missing support for `FORGIT_GLO_FORMAT` #183

Closed wallace11 closed 2 years ago

wallace11 commented 2 years ago

Check list

Description

FORGIT_GLO_FORMAT appears in the documentation, but it was not anywhere to be found on the code itself. This PR just adds this missing feature.

Now, before anyone mentions FORGIT_LOG_FORMAT - this global variable needs to be set before forgit is first loaded and cannot be changed during an active session. For me it means to put it in ~/.zshenv which gets loaded before anything else, and I consider this to be less than ideal.

Type of change

Test environment

wfxr commented 2 years ago

@wallace11 Sorry for the late reply. Looks good to me. Thank you!