commit: fix extraction of single-line signatures · RetVal/libgit2@bf804d4 · GitHub
Skip to content

Commit bf804d4

Browse files
author
Carlos Martín Nieto
committed
commit: fix extraction of single-line signatures
The function to extract signatures suffers from a similar bug to the header field finding one by having an unecessary line feed check as a break condition of its loop. Fix that and add a test for this single-line signature situation.
1 parent de143ef commit bf804d4

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

‎src/commit.c‎

Lines changed: 1 addition & 1 deletion

‎tests/commit/parse.c‎

Lines changed: 24 additions & 0 deletions

0 commit comments

Comments
 (0)