Skip to content

Commit a8d52ee

Browse files
Revert "Revert "Empty message in the first commit""
This reverts commit 26650aa.
1 parent 08fd623 commit a8d52ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Gitonomy/Git/Parser/LogParser.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ protected function doParse()
4949
$this->consumeGPGSignature();
5050

5151
$this->consumeNewLine();
52-
$this->consumeNewLine();
52+
if ($this->cursor < strlen($this->content)) {
53+
$this->consumeNewLine();
54+
}
5355

5456
$message = '';
5557
if ($this->expects(' ')) {

0 commit comments

Comments
 (0)