libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.61k stars 385 forks source link

`Commit.message_trailers` doesn't support multiple occurances #1170

Open rossburton opened 1 year ago

rossburton commented 1 year ago

Some commits may have a number of Signed-off-by tags, but as message_trailers is a dict only the last one is present.

How about also exposing this parsed data, which is very useful, as a list of tuples so that every item can be extracted?