diff options
author | 2012-02-22 06:07:13 +0530 | |
---|---|---|
committer | 2012-02-22 06:29:13 +0530 | |
commit | dceb40a104731b3e7eec546ac23d84964f81714b (patch) | |
tree | 0862f7c3e63d6a0d91b731bb7a5b15d54681361a | |
parent | fix http install (broken by d08aca); add a quick smoke test (diff) | |
download | gitolite-gentoo-dceb40a104731b3e7eec546ac23d84964f81714b.tar.gz gitolite-gentoo-dceb40a104731b3e7eec546ac23d84964f81714b.tar.bz2 gitolite-gentoo-dceb40a104731b3e7eec546ac23d84964f81714b.zip |
<sigh> why won't people read just *one* para more...?
OK I agree the starting line was *just* misleading enough to give the
opposite impression, but still, when the next para starts with "The
rules are..." wouldn't you expect people would read *that* too?
-rw-r--r-- | doc/gitolite.conf.mkd | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/gitolite.conf.mkd b/doc/gitolite.conf.mkd index 1e83da1..c46b2f2 100644 --- a/doc/gitolite.conf.mkd +++ b/doc/gitolite.conf.mkd @@ -475,15 +475,15 @@ Some usage hints: ### #mergecheck enforcing a no-merges policy -Some people want to enforce a no-merges policy for various reasons. This -behaviour can be enabled by suffixing an "M" to the end of any permission -starting with `RW` (i.e., all of them except `R`). So for instance, `RW` -becomes `RWM`, and `RW+` becomes `RW+M`, etc. - -The rules are exactly the same as for "C" and "D": once a repo has an "M" -qualifier tied to any access rule, all rules for that repo are subject to -merge checking, and merge commits will only be allowed when the rule has the -"M" qualifier. +Some people want to enforce a no-merges policy for various reasons. The new +"M" qualifier can be used to specify who is allowed to push merge commits. +This works just like "C" and "D" in the previous section, so **please read +that for a more detailed description** and apply the same ideas, (including +the `@all` trick!) to "M" for "allow merge commits". + +The only other thing to remember is that this qualifier, if used, goes at the +end of any permission starting with `RW` (i.e., all of them except `R`). For +example, `RW` becomes `RWM`, `RW+` becomes `RW+M`, `RW+CD` becomes `RW+CDM`. ## summary: permissions |