Last change
on this file since 7547 was 7300, checked in by rick, 15 years ago |
genesis-stop-stupid-people-from-committing-errors-pre-commit-hook
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Id
|
File size:
158 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | # $Id: pre-commit 7300 2009-12-02 20:22:31Z rick $
|
---|
3 | BASEDIR=`dirname $0`
|
---|
4 |
|
---|
5 | REPOS="$1"
|
---|
6 | TXN="$2"
|
---|
7 |
|
---|
8 | $BASEDIR/genesis-check.sh $REPOS $TXN || exit 1
|
---|
9 |
|
---|
10 | # All checks passed, so allow the commit.
|
---|
11 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.