<commit_before>h1. Git Commit Notifier

__by <NAME> (bodo 'at' wannawork 'dot' de), <NAME> (Primalgrasp) (zoltan 'at' primalgrasp 'dot' com)__

Sends email commit messages splitting commits that were pushed in one step. 
Email is delivered as text or HTML with changes refined per word. Emails 
have a scanable subject containing the first sentence of the commit as well 
as the author, project and branch name.

For example:

<pre>[rails][branch] Fix Brasilia timezone. [#1180 state:resolved] </pre>

A reply-to header is added containing the author of the commit. This makes 
follow up really simple. If multiple commits are pushed at once, emails are 
numbered in chronological order:

<pre> [rails][branch][000] Added deprecated warning messages to Float#months and Float#years deprications.
 [rails][branch][001] Enhance testing for fractional days and weeks. Update changelog.</pre>

Example email:

!http://img171.imageshack.us/img171/954/gitcommitnotifieremailpq3.png!

h1. Requirements

* Ruby
* RubyGems
* diff/lcs gem
* SMTP server or sendmail compatible mailer
* mocha, hpricot gems for testing
* TamTam for stylesheet inlining. GMail needs this.

h1. Installing and Configuring

Before installing the Git Commit Notification script, make sure the following 
Git settings are configured correctly.

* git config hooks.mailinglist (email address of the recipient, probably your mailing list address)
* __Optional:__ git config hooks.emailprefix (application name, used in email subject)

Install the gem:

<pre>sudo gem install git-commit-notifier</pre>

After you installed the gem, you need to configure your git repository. Add a file called 
"post-receive" to the "hooks" directory of your git repository with this content:

<pre>
#!/bin/sh
git-commit-notifier path_to_config.yml
</pre>
(Don't forget to make that file executable.)

An example for the config file can be found in <a href="http://github.com/bodo/git-commit-notifier/blob/master/config/git-notifier-config.yml.sample">config/git-notifier-config.yml.sample</a>.

h1. License

MIT License, see the file LICENSE.<commit_msg>Updated the readme, the optional parameters are not neccessary anymore.<commit_after>h1. Git Commit Notifier

__by <NAME> (bodo 'at' wannawork 'dot' de), <NAME> (Primalgrasp) (zoltan 'at' primalgrasp 'dot' com)__

Sends email commit messages splitting commits that were pushed in one step. 
Email is delivered as text or HTML with changes refined per word. Emails 
have a scanable subject containing the first sentence of the commit as well 
as the author, project and branch name.

For example:

<pre>[rails][branch] Fix Brasilia timezone. [#1180 state:resolved] </pre>

A reply-to header is added containing the author of the commit. This makes 
follow up really simple. If multiple commits are pushed at once, emails are 
numbered in chronological order:

<pre> [rails][branch][000] Added deprecated warning messages to Float#months and Float#years deprications.
 [rails][branch][001] Enhance testing for fractional days and weeks. Update changelog.</pre>

Example email:

!http://img171.imageshack.us/img171/954/gitcommitnotifieremailpq3.png!

h1. Requirements

* Ruby
* RubyGems
* diff/lcs gem
* SMTP server or sendmail compatible mailer
* mocha, hpricot gems for testing
* TamTam for stylesheet inlining. GMail needs this.

h1. Installing and Configuring

Install the gem:

<pre>sudo gem install git-commit-notifier</pre>

After you installed the gem, you need to configure your git repository. Add a file called 
"post-receive" to the "hooks" directory of your git repository with this content:

<pre>
#!/bin/sh
git-commit-notifier path_to_config.yml
</pre>
(Don't forget to make that file executable.)

An example for the config file can be found in <a href="http://github.com/bodo/git-commit-notifier/blob/master/config/git-notifier-config.yml.sample">config/git-notifier-config.yml.sample</a>.

h1. License

MIT License, see the file LICENSE.
{'fraction_non_alphanumeric': 0.08373387300784214, 'fraction_numerical': 0.012142676448267139, 'mean_word_length': 4.780701754385965, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '2917383', 'n_tokens_mistral': 1237, 'n_tokens_neox': 1158, 'n_words': 489}