Mercurial > kallithea
diff init.d/celeryd-upstart.conf @ 8988:511b20a6475d stable
tests: skip reading Git system and global configuration in test_vcs_operations
The parent changeset reduced the dependency on global configuration and made it
possible to run tests without any global git configuration. But it is still
unfortunate to even look at the global configuration when running tests.
Global configuration is already disabled for Mercurial by setting HGRCPATH.
Now do something similar for Git. According to the git man page,
GIT_CONFIG_GLOBAL and GIT_CONFIG_SYSTEM set to /dev/null will make Git skip
reading the configuration files on all platforms.
Note that the GIT_CONFIG variables were introduced in Git 2.32.0, so this will
not work with all the Git versions supported by Kallithea.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Thu, 30 Mar 2023 03:22:35 +0200 |
parents | 1d539bb18165 |
children |