git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update jQuery from 1.12.4 to 3.7.1
[phorkie.git]
/
src
/
phorkie
/
Repository
/
Post.php
diff --git
a/src/phorkie/Repository/Post.php
b/src/phorkie/Repository/Post.php
index b9489e77cd48bffbe6c22d66389b638b95198d2d..ce9e52cea8fd9397410026497740e204d87e3a44 100644
(file)
--- a/
src/phorkie/Repository/Post.php
+++ b/
src/phorkie/Repository/Post.php
@@
-167,13
+167,20
@@
class Repository_Post
'author',
$sessionData['name'] . ' <' . $sessionData['email'] . '>'
)
'author',
$sessionData['name'] . ' <' . $sessionData['email'] . '>'
)
+ ->setEnvVar('GIT_AUTHOR_NAME', $sessionData['name'])
+ ->setEnvVar('GIT_AUTHOR_EMAIL', $sessionData['email'])
+ ->setEnvVar('GIT_COMMITTER_NAME', $sessionData['name'])
+ ->setEnvVar('GIT_COMMITTER_EMAIL', $sessionData['email'])
->execute();
//FIXME: git needs ref BEFORE add
//quick hack until http://pear.php.net/bugs/bug.php?id=19605 is fixed
->execute();
//FIXME: git needs ref BEFORE add
//quick hack until http://pear.php.net/bugs/bug.php?id=19605 is fixed
- //also waiting for https://pear.php.net/bugs/bug.php?id=19623
$vc->getCommand('notes --ref=identity add')
->setOption('force')
->setOption('message', "$notes")
$vc->getCommand('notes --ref=identity add')
->setOption('force')
->setOption('message', "$notes")
+ ->setEnvVar('GIT_AUTHOR_NAME', $sessionData['name'])
+ ->setEnvVar('GIT_AUTHOR_EMAIL', $sessionData['email'])
+ ->setEnvVar('GIT_COMMITTER_NAME', $sessionData['name'])
+ ->setEnvVar('GIT_COMMITTER_EMAIL', $sessionData['email'])
->execute();
//update info for dumb git HTTP transport
//the post-update hook should do that IMO, but does not somehow
->execute();
//update info for dumb git HTTP transport
//the post-update hook should do that IMO, but does not somehow