HACKING: ./misc/review, pre-commit hook

Change-Id: I8ac1145b6e5455f1c4bbaeb77cdd535262c3fd65
This commit is contained in:
mpl 2013-10-22 18:01:28 +02:00
parent 18de812d8b
commit ec17a244d2
1 changed files with 12 additions and 0 deletions

12
HACKING
View File

@ -71,4 +71,16 @@ Before submitting a patch, you should check that all the tests pass with:
$ devcam test
You can use your usual git workflow to commit your changes, but for each
change to be reviewed you should merge your commits into one before submitting
to gerrit for review with:
$ ./misc/review
You can optionally use our pre-commit hook so that your code gets gofmt'ed
before being submitted (which should be done anyway).
$ cd .git/hooks
$ ln -s ../../misc/pre-commit.githook pre-commit
Please update this file as appropriate.