1 # Contributing to libevent
5 First and most generic rule: **just look around**.
7 But, we have a script for checking patches/files/git-refs:
11 ./checkpatch.sh -r HEAD
14 git format-patch --stdout -1 | ./checkpatch.sh -p
15 git show -1 | ./checkpatch.sh -p
17 # Or via regular files
18 git format-patch --stdout -2
19 ./checkpatch.sh *.patch
22 ./checkpatch.sh -d event.c
23 ./checkpatch.sh -d < event.c
25 # And print the whole file not only summary
26 ./checkpatch.sh -f event.c
27 ./checkpatch.sh -f < event.c
34 - Write new unit test in `test/regress_{MORE_SUITABLE_FOR_YOU}.c`
38 It's all right to have questions! Instead of filing an issue here, go ahead and leave a message in our [Gitter Room](https://gitter.im/libevent/libevent)