Esempio n. 1
0
 /**
  * Appends commit along with comments.
  * @param Commit commit object
  */
 public function addCommit(Commit $commit)
 {
     $new = $this->findCommit($commit->getHash());
     $new->setLabel($commit->getLabel());
     $new->addComments($commit->getComments());
 }
Esempio n. 2
0
 public function set(Commit $commit)
 {
     $this->setHash($commit->hashHash());
     $this->setLabel($commit->getLabel());
     $this->setComments($commit->getComments());
 }