From 66bbab37496cfe2050ca0e62c882a9e896b01f7c Mon Sep 17 00:00:00 2001 From: finswimmer Date: Fri, 10 Jun 2022 16:15:06 +0200 Subject: [PATCH 1/2] fix: added `experimental.system-git-client` to unique_config_values in `poetry config` command --- src/poetry/console/commands/config.py | 5 +++++ 1 file changed, 5 insertions(+) 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, From b7d5b9a9cbf6214d1f60a2005048e229a5816836 Mon Sep 17 00:00:00 2001 From: finswimmer Date: Thu, 9 Jun 2022 20:58:36 +0200 Subject: [PATCH 2/2] docs: added `experimental.system-git-client` to configuration options --- docs/configuration.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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