Skip to content

Commit

Permalink
Delete notes about unsupported GIT_CONFIG_GLOBAL env var
Browse files Browse the repository at this point in the history
Should be supported by recent git2
  • Loading branch information
dandavison committed Jun 3, 2023
1 parent 4ab08ca commit 01f92de
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion manual/src/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ git -c delta.line-numbers=false show

There are several important environment variables that affect delta configuration and which can be used to configure delta dynamically.
Please see [Environment variables](./environment-variables.md).
In particular, note that delta does not currently honor all relevant [git environment variables](https://git-scm.com/docs/git-config#_environment), since delta uses [libgit2](https://github.com/libgit2/libgit2) to read git config.
5 changes: 0 additions & 5 deletions manual/src/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@

The `GIT_PAGER` environment variable must either not be set at all, or set to the value `delta` (you can add argument here if you want; this env var plays the same role as the `core.pager` config entry).

Unfortunately, delta does not currently honor all relevant [git environment variables](https://git-scm.com/docs/git-config#_environment).
For example, it does not honor `GIT_CONFIG_GLOBAL`.
This is because delta uses [libgit2](https://github.com/libgit2/libgit2) to read git config, whereas git uses its own code.
(libgit2 is a project run by volunteers; if this affects you, please do consider contributing the required features to libgit2!)

## Pager environment variables

A pager is a program that accepts many lines of text as input, and displays them one screenful at a time.
Expand Down

0 comments on commit 01f92de

Please sign in to comment.