diff options
| author | Justin J. Novack <jnovack@gmail.com> | 2012-09-21 16:49:09 -0400 |
|---|---|---|
| committer | Justin J. Novack <jnovack@gmail.com> | 2012-09-21 16:59:23 -0400 |
| commit | 003e7c8a933084aa7873076e974bd39e92c142b8 (patch) | |
| tree | be6c1ff51d6687ce668f634c4a20ead528743723 | |
| parent | 52de444faa10f37c4174e9fe2c75e77484342549 (diff) | |
| download | phorkie-003e7c8a933084aa7873076e974bd39e92c142b8.tar.gz phorkie-003e7c8a933084aa7873076e974bd39e92c142b8.zip | |
FIX: Index forks
| -rw-r--r-- | src/phorkie/Forker.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/phorkie/Forker.php b/src/phorkie/Forker.php index f4901ed..affa12a 100644 --- 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; } } |
