bug: Multiple trailers with same key are not supported
Closed this issue · 0 comments
pawamoy commented
Description of the bug
If I add Co-authored-by: author1
and Co-authored-by: author2
to a commit trailer, only the last one is showed.
To Reproduce
mkdir repro
cd repro
git init .
echo hello > world
git add -A
git commit -m "$(echo -e "summary:\n\nCo-authored-by: Name1 <email1>\nCo-authored-by: Name2 <email2>")"
git-changelog | grep Name1 # should fail
Full traceback
Not relevant.
Expected behavior
Duplicated trailers should be supported.
Environment information
git-changelog --debug-info # | xclip -selection clipboard
- System: Linux-6.7.6-arch1-1-x86_64-with-glibc2.39
- Python: cpython 3.11.5
- Environment variables:
PYTHONPATH
:/home/pawamoy/.local/pipx/venvs/pdm/lib/python3.11/site-packages/pdm/pep582
- Installed packages:
git-changelog
v2.4.0
Additional context
/
Boost priority
- Boost priority in our backlog through Polar.sh. Higher pledge, higher priority.
- Minimum pledge by user/organization is $5, minimum amount for boost is $30.
- View all issues with pledges.
- We receive the funds once the issue is completed and confirmed by you.
- Features with the insiders label are released to sponsors first, and tied to a funding goal.