From 04cff88bc60870ad8612dcc534e3260ae65646de Mon Sep 17 00:00:00 2001 From: Wenxuan Zhang Date: Sat, 7 Mar 2026 11:44:30 +0800 Subject: [PATCH] docs: improve options documentation in README - Move FORGIT_GLO_FORMAT from pagers table to other options table where it belongs, and clarify its relationship to FORGIT_LOG_FORMAT - Add FORGIT_LOG_GRAPH_ENABLE to other options table - Add FORGIT_COPY_CMD to other options table (previously only mentioned briefly in the Keybindings section) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe0a0d0..70ce87c 100644 --- a/README.md +++ b/README.md @@ -319,7 +319,6 @@ variables: | pager on `git blame` | `FORGIT_BLAME_PAGER` | `git config pager.blame` _or_ `$FORGIT_PAGER` | | pager on `gitignore` | `FORGIT_IGNORE_PAGER` | `bat -l gitignore --color always` _or_ `cat` | | pager on `gitattributes` | `FORGIT_ATTRIBUTES_PAGER` | `bat -l gitattributes --color always` _or_ `cat` | -| git log format | `FORGIT_GLO_FORMAT` | `%C(auto)%h%d %s %C(black)%C(bold)%cr%reset` | ## fzf options @@ -394,6 +393,9 @@ export FORGIT_LOG_FZF_OPTS=' | Option | Description | Default | |--------------------------------|--------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------| | `FORGIT_LOG_FORMAT` | git log format | `%C(auto)%h%d %s %C(black)%C(bold)%cr%Creset` | +| `FORGIT_GLO_FORMAT` | override log format for `glo` command | `$FORGIT_LOG_FORMAT` | +| `FORGIT_LOG_GRAPH_ENABLE` | enable log graph display | `true` | +| `FORGIT_COPY_CMD` | command for copying to clipboard | `pbcopy` | | `FORGIT_PREVIEW_CONTEXT` | lines of diff context in preview mode | 3 | | `FORGIT_FULLSCREEN_CONTEXT` | lines of diff context in full-screen mode | 10 | | `FORGIT_DIR_VIEW` | command used to preview directories | `tree` if available, otherwise `find` |