diff --git a/docs/configuration.md b/docs/configuration.md index 06507ce27f3..50410f43de8 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -157,6 +157,20 @@ Defaults to one of the following directories: - Windows: `C:\Users\\AppData\Local\pypoetry\Cache` - Unix: `~/.cache/pypoetry` +### `experimental.system-git-client` + +**Type**: boolean + +*Introduced in 1.2.0* + +Use system git client backend for git related tasks. + +Poetry uses `dulwich` by default for git related tasks to not rely on the availability of a git client. + +If you encounter any problems with it, set to `true` to use the system git backend. + +Defaults to `false`. + ### `installer.parallel` **Type**: boolean diff --git a/src/poetry/console/commands/config.py b/src/poetry/console/commands/config.py index d7b2c1df84e..66f0e986c16 100644 --- a/src/poetry/console/commands/config.py +++ b/src/poetry/console/commands/config.py @@ -96,6 +96,11 @@ def unique_config_values(self) -> dict[str, tuple[Any, Any, Any]]: boolean_normalizer, True, ), + "experimental.system-git-client": ( + boolean_validator, + boolean_normalizer, + False, + ), "installer.parallel": ( boolean_validator, boolean_normalizer,