Permalink
Browse files

'info' should show wild patterns hiding in groups also

(thanks to Sebastian Koslowski for catching this)
  • Loading branch information...
sitaramc committed Apr 3, 2013
1 parent 1dea1b6 commit 962e465079617de6c064c315ff0376f59db24ef8
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/commands/info
View
@@ -60,8 +60,10 @@ sub print_version {
sub print_patterns {
my ( $repos, @aa );
+ my $lm = \&Gitolite::Conf::Load::list_members;
+
# find repo patterns only, call them with ^C flag included
- @$repos = grep { !/$REPONAME_PATT/ } @{ lister_dispatch('list-repos')->() };
+ @$repos = grep { !/$REPONAME_PATT/ } map { /^@/ ? @{ $lm->($_) } : $_ } @{ lister_dispatch('list-repos')->() };
@aa = qw(R W ^C);
listem( $repos, '', '', @aa );
# but squelch the 'lc' and 'ld' flags for these

0 comments on commit 962e465

Please sign in to comment.