lib/gitolite/config.rb in gitolite-1.0.0 vs lib/gitolite/config.rb in gitolite-1.0.1
- old
+ new
@@ -205,9 +205,11 @@
def build_groups_depgraph
dp = ::Plexus::Digraph.new
# Add each group to the graph
@groups.each_value do |group|
+ 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.each do |subgroup|