diff options
author | Rowan Bohde <rowan.bohde@gmail.com> | 2024-12-12 15:10:47 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 21:10:47 +0000 |
commit | a03fdd9566d62abd208af9ae30e58802a658e358 (patch) | |
tree | ebb90c2c5faff60cd4e60b2264c2c2374bc596fa /modules/lfs/shared.go | |
parent | ab6d819a89c11d2a2ca226c0728dc8c6d58d61cd (diff) | |
download | gitea-a03fdd9566d62abd208af9ae30e58802a658e358.tar.gz gitea-a03fdd9566d62abd208af9ae30e58802a658e358.zip |
Avoid MacOS keychain dialog in integration tests (#32813)
Mac's git installation ships with a system wide config that configures
the credential helper `osxkeychain`, which will prompt the user with a
dialog.
```
$ git config list --system
credential.helper=osxkeychain
```
By setting the environment variable
[`GIT_CONFIG_NOSYSTEM=true`](https://git-scm.com/docs/git-config#ENVIRONMENT),
Git will not load the system wide config, preventing the dialog from
populating.
Closes #26717
Diffstat (limited to 'modules/lfs/shared.go')
0 files changed, 0 insertions, 0 deletions