summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-04-15 12:24:08 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-04-15 12:24:08 +0200
commit0efae3b22e7472b95174632c323137a2b21b9c51 (patch)
tree2c41d4ca3f9f27bf105ea0d9819f15b541d6c646 /tests/diff/binary.c
parent041ed367ab026583d6607b5029a0c63146a90215 (diff)
downloadlibgit2-0efae3b22e7472b95174632c323137a2b21b9c51.tar.gz
commit: correctly detect the start of the commit message
The end of the header is signaled by to consecutive LFs and the commit message starts immediately after. Jumping over LFs at the start of the message is a bug and leads to creating different commits if when rebuilding history. This also fixes an empty commit message being returned as "\n".
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions