[PR #7260/07bac177 backport][stable-8] git_config: support multiple values for same name (#7672)

git_config: support multiple values for same name (#7260)

* Refactor the existing git_config.py

* Support multiple values for same name

(cherry picked from commit 07bac1777f)

Co-authored-by: Günther Grill <guenhter@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2023-12-03 09:49:20 +01:00 committed by GitHub
commit 7fe5e5f02c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 259 additions and 56 deletions

View file

@ -13,6 +13,7 @@
import_tasks: setup.yml
- block:
- import_tasks: set_value.yml
# testing parameters exclusion: state and list_all
- import_tasks: exclusion_state_list-all.yml
# testing get/set option without state
@ -31,5 +32,7 @@
- import_tasks: unset_check_mode.yml
# testing for case in issue #1776
- import_tasks: set_value_with_tilde.yml
- import_tasks: set_multi_value.yml
- import_tasks: unset_multi_value.yml
when: git_installed is succeeded and git_version.stdout is version(git_version_supporting_includes, ">=")
...