<commit_before><?php
/**
 * Created by PhpStorm.
 * User: pebs74
 * Date: 10/07/2014
 * Time: 15:14
 */
if(isset($_GET["action"])) {
    $action = $_GET["action"];
} else {
    print_r("No \"action\" specified");
    return;
}
switch($action) {
    case "git_pull":
        $clipit_path = elgg_get_root_path();
        chdir($clipit_path);
        echo exec("git stash save \"auto stash\""),"\n";
        echo exec("git pull --recurse-submodules"),"\n";
        echo "<h3 align = center> Succesfully pulled all the files.</h3>";
        break;
    case "export_users":
        print_r(ClipitUser::export_data());
        break;
    case "export_activities":
        print_r(ClipitActivity::export_data());
        break;
}

<commit_msg>testing php git pull<commit_after><?php
/**
 * Created by PhpStorm.
 * User: pebs74
 * Date: 10/07/2014
 * Time: 15:14
 */
if(isset($_GET["action"])) {
    $action = $_GET["action"];
} else {
    print_r("No \"action\" specified");
    return;
}
switch($action) {
    case "git_pull":
        $clipit_path = elgg_get_root_path();
        chdir($clipit_path);
        echo exec("git stash save \"auto stash\""),PHP_EOL;
        echo exec("git pull --recurse-submodules"),PHP_EOL;
        echo "<h3 align = center> Succesfully pulled all the files.</h3>";
        break;
    case "export_users":
        print_r(ClipitUser::export_data());
        break;
    case "export_activities":
        print_r(ClipitActivity::export_data());
        break;
}


{'fraction_non_alphanumeric': 0.16700336700336701, 'fraction_numerical': 0.02154882154882155, 'mean_word_length': 2.829896907216495, 'pattern_counts': {'":': 6, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2143663', 'n_tokens_mistral': 527, 'n_tokens_neox': 504, 'n_words': 107}