Skip to content

Commit

Permalink
fix for ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Livadaru committed Aug 26, 2012
1 parent df8c354 commit ecb5253
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/gitolite/config.rb
Expand Up @@ -213,8 +213,7 @@ def build_groups_depgraph
dp.add_vertex! group

# Select group names from the users
subgroups = group.users.select {|u| u =~ /^#{Group::PREPEND_CHAR}.*$/}
.map{|g| get_group g.gsub(Group::PREPEND_CHAR, '') }
subgroups = group.users.select {|u| u =~ /^#{Group::PREPEND_CHAR}.*$/}.map{|g| get_group g.gsub(Group::PREPEND_CHAR, '') }

subgroups.each do |subgroup|
dp.add_edge! subgroup, group
Expand Down

0 comments on commit ecb5253

Please sign in to comment.