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
Consider for example this linux kernel commit: https://gitlab.com/linux-kernel/stable/-/commit/1382999aa0548a171a272ca817f6c38e797c458c which has following trailers that include multiple cc and signed-off-by trailers:
cc
signed-off-by
Link: https://lore.kernel.org/lkml/[email protected]/ Cc: [email protected] # 6.1+ Reported-by: default avatarVlastimil Babka <[email protected]> Suggested-by: default avatarLinus Torvalds <[email protected]> Acked-by: default avatarLuigi Semenzato <[email protected]> Cc: Peter Huewe <[email protected]> Cc: Jarkko Sakkinen <[email protected]> Cc: James Bottomley <[email protected]> Cc: Johannes Altmanninger <[email protected]> Signed-off-by: Jason Donenfeld's avatarJason A. Donenfeld <[email protected]> Signed-off-by: default avatarLinus Torvalds <[email protected]>
And git interpret-trailers --parse ... will return all of these.
git interpret-trailers --parse ...
However the trailers() function returns a dictionary with only the last value for each token.
trailers()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
nickbroon commentedJan 10, 2023
Consider for example this linux kernel commit: https://gitlab.com/linux-kernel/stable/-/commit/1382999aa0548a171a272ca817f6c38e797c458c which has following trailers that include multiple
cc
andsigned-off-by
trailers:And
git interpret-trailers --parse ...
will return all of these.However the
trailers()
function returns a dictionary with only the last value for each token.The text was updated successfully, but these errors were encountered: