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.
2 parents e8fe207 + 96259e4 commit 0f81e4bCopy full SHA for 0f81e4b
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