git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remote forking: use the original http/https url in description
[phorkie.git]
/
src
/
phorkie
/
Repository
/
Post.php
diff --git
a/src/phorkie/Repository/Post.php
b/src/phorkie/Repository/Post.php
index 9119e06c2ce0f1484351dc63ce688060898cbecf..f94d9ab755d4ddc492451b19f54cdef8fb7a3d4a 100644
(file)
--- a/
src/phorkie/Repository/Post.php
+++ b/
src/phorkie/Repository/Post.php
@@
-117,8
+117,6
@@
class Repository_Post
}
}
}
}
- $commitmsg = "phorkie commit";
-
if (isset($sessionData['identity'])) {
$notes = $sessionData['identity'];
} else {
if (isset($sessionData['identity'])) {
$notes = $sessionData['identity'];
} else {
@@
-127,10
+125,12
@@
class Repository_Post
if ($bCommit) {
$vc->getCommand('commit')
if ($bCommit) {
$vc->getCommand('commit')
- ->setOption('message', $commitmsg)
+ ->setOption('message', '')
+ ->setOption('allow-empty-message')
->setOption('author', $sessionData['name'].' <'.$sessionData['email'].'>')
->execute();
->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")
$vc->getCommand('notes --ref=identity add')
->setOption('force')
->setOption('message', "$notes")