getAllModificationsSince() public method

Return the list of all modifications from the given tag until now
public getAllModificationsSince ( string $tag, boolean $color = true, boolean $noMergeCommits = false ) : array
$tag string
$color boolean
$noMergeCommits boolean
return array
 /**
  * Gets hash of latest commit
  *
  * @return string
  */
 private function getCurrentCommitHash()
 {
     $colorOutput = false;
     $modifications = $this->vcs->getAllModificationsSince('HEAD~1', $colorOutput);
     $lastModification = reset($modifications);
     return substr($lastModification, 0, strpos($lastModification, ' '));
 }