We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba09331 commit 96259e4Copy full SHA for 96259e4
src/Gitonomy/Git/Parser/DiffParser.php
@@ -64,9 +64,9 @@ protected function doParse()
64
// 4. File informations
65
$isBinary = false;
66
if ($this->expects('index ')) {
67
- $oldIndex = $this->consumeHash();
+ $oldIndex = $this->consumeShortHash();
68
$this->consume('..');
69
- $newIndex = $this->consumeHash();
+ $newIndex = $this->consumeShortHash();
70
if ($this->expects(' ')) {
71
$vars = $this->consumeRegexp('/\d{6}/');
72
$newMode = $oldMode = $vars[0];
0 commit comments