Permalink
Browse files

Update config parsing regex for M perms

  • Loading branch information...
1 parent 9ce1327 commit 0ac72efc32721e5b6fbcdbb10fcee622503bce75 @wingrunr21 committed Apr 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/gitolite/config.rb
@@ -119,7 +119,7 @@ def process_config(config)
@repos[r] = Repo.new(r) unless has_repo?(r)
end
#repo permissions
- when /^(-|C|R|RW\+?(?:C?D?|D?C?)) (.* )?= (.+)/
+ when /^(-|C|R|RW\+?(?:C?D?|D?C?)M?) (.* )?= (.+)/
perm = $1
refex = $2 || ""
users = $3.split

0 comments on commit 0ac72ef

Please sign in to comment.