git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
FIX: Index forks
[phorkie.git]
/
src
/
phorkie
/
Forker.php
diff --git
a/src/phorkie/Forker.php
b/src/phorkie/Forker.php
index f4901ed9251e4720e54e7251518c3ceca2eb22d7..affa12ae47df853809968ce73f7d502158d3bb0d 100644
(file)
--- a/
src/phorkie/Forker.php
+++ b/
src/phorkie/Forker.php
@@
-37,6
+37,10
@@
class Forker
foreach (\glob($new->gitDir . '/hooks/*') as $hookfile) {
\unlink($hookfile);
}
+
+ $db = new Database();
+ $db->getIndexer()->addRepo($new);
+
return $new;
}
}