<commit_before>#!/bin/bash
#
# Symlinks in standard git hooks into current repo. Should be run from
# base of repo.

cd .git/hooks/
ln -vs ~/src/pre-commit.sh pre-commit
ln -vs ~/src/pre-push.sh pre-push<commit_msg>adds set -e in symlink_git_hooks.sh, so we fail more cleanly if .git/hooks doesn't exist<commit_after>#!/bin/bash
#
# Symlinks in standard git hooks into current repo. Should be run from
# base of repo.
set -e
set -o pipefail

cd .git/hooks/
ln -vs ~/src/pre-commit.sh pre-commit
ln -vs ~/src/pre-push.sh pre-push
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.0, 'mean_word_length': 3.371900826446281, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1836080', 'n_tokens_mistral': 198, 'n_tokens_neox': 197, 'n_words': 69}