mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-18 19:10:31 +08:00
If a Commit was constructed with trailers, they would not be added to the buffer for committing. Fix this by parsing the message by inspecting each line for a potential trailer, if there is one then store it for later, otherwise keep it as part of the message. This means that a message stays intact even if a trailer that is expected to parse did not. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett