Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function execute(Config $config, IO $io, Repository $repository, Config\Action $action) |
||
38 | { |
||
39 | $options = $action->getOptions(); |
||
40 | $oldMsg = $repository->getCommitMsg(); |
||
41 | |||
42 | if (!$repository->isMerging()) { |
||
43 | $repository->setCommitMsg(new CommitMessage($options->get('message', ''), $oldMsg->getCommentCharacter())); |
||
44 | } |
||
45 | } |
||
46 | } |
||
47 |