getAllModificationsSince() public method

public getAllModificationsSince ( $tag, $color = true, $noMergeCommits = false )
Beispiel #1
0
 public function testSaveWorkingCopy()
 {
     $vcs = new Git();
     $vcs->createTag(new \Liip\RMT\Version('2.0.0'));
     $this->assertEquals(array(), $vcs->getAllModificationsSince('2.0.0'));
     exec('rm file2');
     $vcs->saveWorkingCopy('Remove the second file');
     $this->assertCount(1, $vcs->getAllModificationsSince('2.0.0'));
 }