[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Review of net.venge.monotone.validate-changes
From: |
Thomas Keller |
Subject: |
Re: [Monotone-devel] Review of net.venge.monotone.validate-changes |
Date: |
Mon, 19 Jul 2010 18:47:01 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 |
Am 14.07.10 23:34, schrieb Thomas Keller:
>
> Hi!
>
> I hacked together support for a basic pre-commit hook similar to
> validate_commit_message, just that this will be executed before the
> commit message machinery starts, but after we validated the restriction,
> branch name and everything else.
>
> This could be useful to locally abort commits early if certain
> conditions are not met, e.g. somebody could setup a hook which checks
> for coding standards (like the simple example in the included test case
> which bails out if it encounters CRLFs in committed files).
This branch has been merged into mainline.
Thomas.
--
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
signature.asc
Description: OpenPGP digital signature