|
From: | Marcel van der Boom |
Subject: | Re: [Monotone-devel] [patch] adding branchname to parameters for validate_commit_message |
Date: | Mon, 18 Sep 2006 20:06:42 +0200 |
On 18 sep 2006, at 19:46, Timothy Brownawell wrote:
Yeah, although having the checks done before entering a commit message makes sense too. Having the checks earlier might even allow to automate some trivial changes to the files before entering the commit phase (like linting or tabs2spaces or whatever people come up with) Sounds tricky/dangerous and it probably is, but alas. :-)Probably the hook should just be renamed to validate_commit, since it can apparently be used for validating more than just the message.
Luckily mtn saves the commit message, so it's not much of an issue if it fails and combining the two distinct checks into one is probably the simplest.
marcel -- Marcel van der Boom HS-Development BV -- http://www.hsdev.com So! webapplicatie framework -- http://make-it-so.info
smime.p7s
Description: S/MIME cryptographic signature
[Prev in Thread] | Current Thread | [Next in Thread] |