Skip to content

Commit

Permalink
+ skip 'minor' commits at addHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jun 5, 2015
1 parent 8f37194 commit 8546f09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions goals/Git.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ public function getHistory()

public function addHistory($commit)
{
if ($commit['comment']==='minor') {
return;
}
$this->tag = $this->matchTag($commit['tag']) ?: $this->tag;
$commit['tag'] = $this->tag;
$this->_commits[$commit['hash']] = $commit;
Expand Down

0 comments on commit 8546f09

Please sign in to comment.