Added fetchLimit overrides to EGG
This commit is contained in:
@@ -21,10 +21,18 @@ try {
|
||||
$config['output_file'] = false;
|
||||
$config['output_stdout'] = true;
|
||||
|
||||
echo "ENV:\n" . print_r($_ENV, true) . "\n";
|
||||
|
||||
require_once __DIR__ .'/../internals/modules/mikeschergitgraph.php';
|
||||
|
||||
$egg = new MikescherGitGraph($config);
|
||||
|
||||
if (getenv('EGG_FETCHLIMITCOMMITS')) {
|
||||
$v = intval(getenv('EGG_FETCHLIMITCOMMITS'));
|
||||
$egg->setFetchLimitCommits($v);
|
||||
echo "[*] EGG_FETCHLIMITCOMMITS override detected: $v\n";}
|
||||
|
||||
|
||||
echo "\n";
|
||||
echo "================================ Start Update ================================\n";
|
||||
echo "\n";
|
||||
|
||||
Reference in New Issue
Block a user