diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-04-24 10:02:34 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-04-24 10:02:34 +0300 |
commit | 91a0ebe01b03c9aa97861f68bef0a0ab2a4f66ee (patch) | |
tree | fb3418a922cc9946f5a6895fac6de39e4a64cc9a /config.toml.example | |
parent | 1e3fdcecbce114fc39878d1932ae46a5a87fddc4 (diff) |
git: Unconditionally ignore gitconfig files
A while ago we have introduced the `ignore_gitconfig` configuration. If
set, we will override GIT_CONFIG_SYSTEM and GIT_CONFIG_GLOBAL as well as
override XDG_CONFIG_HOME so that Git won't pick up gitconfig files found
in any of these scopes. The goal of this is that we only ever use the
Git configuration that is found either in Gitaly's `config.toml` or in
the repository-local gitconfig.
This toggle has been enabled in all distributions unconditionally
already and was scheduled for removal in v16.0. So let's remove that
toggle and unconditionally ignore any global- or system-level gitconfig
files.
Changelog: removed
Diffstat (limited to 'config.toml.example')
-rw-r--r-- | config.toml.example | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config.toml.example b/config.toml.example index aa434f288..019a9e811 100644 --- a/config.toml.example +++ b/config.toml.example @@ -38,13 +38,6 @@ bin_dir = "/home/git/gitaly/_build/bin" # bin_path = "/usr/bin/git" # catfile_cache_size = 100 # -# # Set this setting to `true` to start ignoring gitconfig files installed in -# # the system. This includes both system-level (e.g. '/etc/gitconffig') and -# # global-level (e.g. `$HOME/.gitconfig`) files. This setting will become the -# # default with v16.0. If you intend to override Git configuration you can do -# # so via `[[git.config]]`. The default value is `false`. -# ignore_gitconfig = false -# # [[git.config]] # key = fetch.fsckObjects # value = true |