git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
show public and private git urls if configured
[phorkie.git]
/
src
/
phorkie
/
Repository
/
Post.php
diff --git
a/src/phorkie/Repository/Post.php
b/src/phorkie/Repository/Post.php
index 627aa1fae53d83335a713e6281eef48873b743a7..828dbadb16e897c8c36833b4d9a82cd968cc7778 100644
(file)
--- a/
src/phorkie/Repository/Post.php
+++ b/
src/phorkie/Repository/Post.php
@@
-87,9
+87,13
@@
class Repository_Post
$repo = $rs->createNew();
$vc = $repo->getVc();
$vc->initRepository();
+
foreach (glob($repo->repoDir . '/.git/hooks/*') as $hookfile) {
unlink($hookfile);
}
+
+ touch($repo->repoDir . '/.git/git-daemon-export-ok');
+
return $repo;
}