diff options
| author | David Bremner <david@tethera.net> | 2022-05-15 13:47:54 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-06-17 08:40:19 -0300 |
| commit | b0105841638e3681e51577128b0a990ae7f815dc (patch) | |
| tree | cf8c6c03ecbddb4298a0a7d7a2ae4fd790b3bbf4 /test/T850-git.sh | |
| parent | a85c82f99a4a8971a057c4379aebf111439a1e52 (diff) | |
CLI/git: rename environment variables.
Although the code required to support both new and old environment
variables is small, it complicates the semantics of configuration, and
make the documentation harder to follow.
Diffstat (limited to 'test/T850-git.sh')
| -rwxr-xr-x | test/T850-git.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/T850-git.sh b/test/T850-git.sh index 713b326f..994950ed 100755 --- a/test/T850-git.sh +++ b/test/T850-git.sh @@ -80,11 +80,11 @@ EOF test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "environment passed through when run as 'notmuch git'" -env NMBGIT=foo NMBPREFIX=bar NOTMUCH_PROFILE=default notmuch git -C tags.git -p '' -ldebug status |& \ +env NOTMUCH_GIT_DIR=foo NOTMUCH_GIT_PREFIX=bar NOTMUCH_PROFILE=default notmuch git -C tags.git -p '' -ldebug status |& \ grep '^env ' | notmuch_dir_sanitize > OUTPUT cat <<EOF > EXPECTED -env NMBGIT = foo -env NMBPREFIX = bar +env NOTMUCH_GIT_DIR = foo +env NOTMUCH_GIT_PREFIX = bar env NOTMUCH_PROFILE = default env NOTMUCH_CONFIG = CWD/notmuch-config EOF |
