From 01f92de6df52457aceb68a5c89b2bb440a6b64d7 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Sat, 3 Jun 2023 10:39:40 -0400 Subject: Delete notes about unsupported GIT_CONFIG_GLOBAL env var Should be supported by recent git2 --- manual/src/configuration.md | 1 - manual/src/environment-variables.md | 5 ----- 2 files changed, 6 deletions(-) diff --git a/manual/src/configuration.md b/manual/src/configuration.md index 620f3587..43fabe66 100644 --- a/manual/src/configuration.md +++ b/manual/src/configuration.md @@ -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. diff --git a/manual/src/environment-variables.md b/manual/src/environment-variables.md index b33069e0..e9491e02 100644 --- a/manual/src/environment-variables.md +++ b/manual/src/environment-variables.md @@ -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. -- cgit v1.2.3