Skip to content

Commit

Permalink
Properly migrate [gitosis] section
Browse files Browse the repository at this point in the history
  • Loading branch information
pioto authored and sitaramc committed May 22, 2012
1 parent 75387fd commit 62a6666
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions convert-gitosis-conf
Expand Up @@ -47,6 +47,9 @@ while (<>)
$groupname = ''; $groupname = '';
$reponame = $1; $reponame = $1;
$reponame =~ s/\.git$//; $reponame =~ s/\.git$//;
} elsif (/^\[gitosis\]$/) {
$groupname = '';
$reponame = '@all';
} elsif (/^gitweb\s*=\s*yes/i) { } elsif (/^gitweb\s*=\s*yes/i) {
push @{$repos{$reponame}{R}}, 'gitweb'; push @{$repos{$reponame}{R}}, 'gitweb';
} elsif (/^daemon\s*=\s*yes/i) { } elsif (/^daemon\s*=\s*yes/i) {
Expand Down

0 comments on commit 62a6666

Please sign in to comment.