git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52de444
)
FIX: Index forks
author
Justin J. Novack
<jnovack@gmail.com>
Fri, 21 Sep 2012 20:49:09 +0000
(16:49 -0400)
committer
Justin J. Novack
<jnovack@gmail.com>
Fri, 21 Sep 2012 20:59:23 +0000
(16:59 -0400)
src/phorkie/Forker.php
patch
|
blob
|
history
diff --git
a/src/phorkie/Forker.php
b/src/phorkie/Forker.php
index
f4901ed
..
affa12a
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;
}
}