-
Notifications
You must be signed in to change notification settings - Fork 1
/
git-hooks-config.txt
43 lines (36 loc) · 1.86 KB
/
git-hooks-config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# The following contents belong to a file called 'project.config'
# on a special branch called 'refs/meta/config'.
# Obtain it via:
# git fetch origin refs/meta/config
# git show FETCH_HEAD:project.config
#
# This configuration is adapted from that one used by binutils-gdb project
# hosted on sourceware.org. Joel Brobecker <[email protected]> will notify
# Valgrind developers alias on any update to their config so we can double
# check.
#
[hooks]
from-domain = sourceware.org
mailinglist = [email protected]
# We do not want to force a maximum line length in commit
# revision logs, as they get in the way of copy-pasting
# debugging session, error messages, logs, etc.
max-rh-line-length = 0
# Reject merge commits on a certain number of branches:
# - on master: We request that people rebase their changes
# before pushing instead (merge commits tend to confuse
# git newcommers).
# - on Valgrind release branches: There is a high risk that a merge
# commit is a merge from master into the branch, which would
# bring a lot more than what the user probably meant to push.
# Request that the user cherry-pick his changes.
reject-merge-commits = refs/heads/master,refs/heads/VALGRIND_.*
# The style checker, applied to the contents of each file being
# modified. TBD.
style-checker = /git/valgrind.git/hooks-bin/style_checker
# The URL where we can inspect the commit, inserted in the commit
# notification email, and also copy sent to the file-commit-cmd.
commit-url = "https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=%(rev)s"
# Do not send emails for the following branches (unofficial
# private branches).
no-emails = refs/heads/users/.*