Skip to content

Commit 825491a

Browse files
committed
Update Repository.php
fixed $repository is not defined
1 parent 3db6719 commit 825491a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Gitonomy/Git/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public function getLog($revisions = null, $paths = null, $offset = null, $limit
388388
public function getDiff($revisions)
389389
{
390390
if (null !== $revisions && !$revisions instanceof RevisionList) {
391-
$revisions = new RevisionList($repository, $revisions);
391+
$revisions = new RevisionList($this, $revisions);
392392
}
393393

394394
$args = array_merge(array('-r', '-p', '-m', '-M', '--no-commit-id', '--full-index'), $revisions->getAsTextArray());

0 commit comments

Comments
 (0)