README.md: Set clean_git_config = false in sample config.toml.#131
README.md: Set clean_git_config = false in sample config.toml.#131mrpippy wants to merge 1 commit intocirruslabs:mainfrom
Conversation
By default, the GitLab runner "cleans" the git config before reusing an existing repo. This results in settings like core.ignorecase and core.precomposeunicode being removed; these are set automatically true for new repos on macOS, and disabling them can cause weird errors. clean_git_config defaults to true when using the custom executor but is false when using the shell executor, this is why typical macOS CI setups using the shell executor don't need this option.
|
Hello Brendan 👋 According to:
This should've been fixed in 18.1. Currently, the latest version available from Homebrew is
|
|
Hi, I'm running v18.8.0. Our CI configuration is quite complex and I'm not sure how to easily reproduce it, but this is with In the builds dir, |
|
@mrpippy I think a proper place to address this issue is the GitLab Runner repository. See:
Simply setting the |
By default, the GitLab runner "cleans" the git config before reusing an existing repo. This results in settings like core.ignorecase and core.precomposeunicode being removed; these are set automatically true for new repos on macOS, and disabling them can cause weird errors.
clean_git_config defaults to true when using the custom executor but is false when using the shell executor, this is why typical macOS CI setups using the shell executor don't need this option.