<commit_before>githooks(5)
===========

NAME
----
githooks - Hooks used by git

SYNOPSIS
--------
$GIT_DIR/hooks/*


DESCRIPTION
-----------

Hooks are little scripts you can place in `$GIT_DIR/hooks`
directory to trigger action at certain points.  When
'git-init' is run, a handful example hooks are copied in the
`hooks` directory of the new repository, but by default they are
all disabled.  To enable a hook, rename it by removing its `.sample`
suffix.

This document describes the currently defined hooks.

applypatch-msg
--------------

This hook is invoked by 'git-am' script.  It takes a single
parameter, the name of the file that holds the proposed commit
log message.  Exiting with non-zero status causes
'git-am' to abort before applying the patch.
<commit_msg>githooks documentation: add a note about the +x mode<commit_after>githooks(5)
===========

NAME
----
githooks - Hooks used by git

SYNOPSIS
--------
$GIT_DIR/hooks/*


DESCRIPTION
-----------

Hooks are little scripts you can place in `$GIT_DIR/hooks`
directory to trigger action at certain points.  When
'git-init' is run, a handful example hooks are copied in the
`hooks` directory of the new repository, but by default they are
all disabled.  To enable a hook, rename it by removing its `.sample`
suffix.

NOTE: It is also a requirement for a given hook to be executable.
However - in a freshly initialized repository - the `.sample` files are
executable by default.

This document describes the currently defined hooks.

applypatch-msg
--------------

This hook is invoked by 'git-am' script.  It takes a single
parameter, the name of the file that holds the proposed commit
log message.  Exiting with non-zero status causes
'git-am' to abort before applying the patch.

{'fraction_non_alphanumeric': 0.10761305094447625, 'fraction_numerical': 0.0011448196908986834, 'mean_word_length': 3.380952380952381, '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': '4707765', 'n_tokens_mistral': 500, 'n_tokens_neox': 494, 'n_words': 246}