parse.c
15.1 KB
-
commit: correctly detect the start of the commit message · 0efae3b2
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".
Carlos Martín Nieto committed