mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-25 14:20:31 +08:00
git-commit: fix for trailer handling
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
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "git-commit"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2021"
|
||||
authors = [
|
||||
|
||||
Reference in New Issue
Block a user