Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Dec 3, 2023

This is a backport of PR #7260 as merged into main (07bac17).

SUMMARY

With git, it is possible to have more configs for the same name. e.g.

[push]
        pushoption = merge_request.create
        pushoption = merge_request.draft

Setting multiple values for the same name is currently not possible. Existing configs where multiple values for the same name are existing cannot be read out at all with the current git_config.

This MR supports setting and reading multi-values in the git config.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

git_config

* Refactor the existing git_config.py

* Support multiple values for same name

(cherry picked from commit 07bac17)
@felixfontein felixfontein merged commit 7fe5e5f into stable-8 Dec 3, 2023
123 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-8/07bac1777f5b1c43dd0f8d6689c734e084f200e6/pr-7260 branch December 3, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants