public static function commit_repo($repository_path, $message = '', $all = false) { $repo = new pakeGit($repository_path); $repo->commit($message, $all); return $repo; }