}
}
- $commitmsg = "phorkie commit";
-
if (isset($sessionData['identity'])) {
$notes = $sessionData['identity'];
} else {
if ($bCommit) {
$vc->getCommand('commit')
- ->setOption('message', $commitmsg)
+ ->setOption('message', '')
+ ->setOption('allow-empty-message')
->setOption('author', $sessionData['name'].' <'.$sessionData['email'].'>')
->execute();
- //FIXME: git needs ref BEFORE add. ideally VersionControl_Git needs to be updated
+ //FIXME: git needs ref BEFORE add
+ //quick hack until http://pear.php.net/bugs/bug.php?id=19605 is fixed
$vc->getCommand('notes --ref=identity add')
->setOption('force')
->setOption('message', "$notes")