Fix mishandling of empty trailer values. Strip trailing whitespace from trailer values. by malcolmwood76 · Pull Request #7096 · libgit2/libgit2 · GitHub
Skip to content

Fix mishandling of empty trailer values. Strip trailing whitespace from trailer values.#7096

Open
malcolmwood76 wants to merge 1 commit into
libgit2:mainfrom
mathworks:emptytrailers
Open

Fix mishandling of empty trailer values. Strip trailing whitespace from trailer values.#7096
malcolmwood76 wants to merge 1 commit into
libgit2:mainfrom
mathworks:emptytrailers

Conversation

@malcolmwood76

Copy link
Copy Markdown

Adjust behaviour of git_message_trailers to match that of "git interpret-trailers" when the trailer has an empty value or trailing whitespace.

closes #7094

trailing whitespace from trailer values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git_message_trailers mishandles a trailer with empty value.

2 participants