Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CREATOR need only be a "word" in wild repo patterns

this was a v2 compat breakage, caught by Dominik Schäfer
(schaedpq at gmail)
  • Loading branch information...
commit 4f4658274dd84595d23b2d0fd16eba6927239a34 1 parent 2048484
@sitaramc authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/lib/Gitolite/Conf/Load.pm
View
3  src/lib/Gitolite/Conf/Load.pm
@@ -418,8 +418,7 @@ sub generic_name {
$creator = creator($base);
$base2 = $base;
- $base2 =~ s(/$creator/)(/CREATOR/) if $creator;
- $base2 =~ s(^$creator/)(CREATOR/) if $creator;
+ $base2 =~ s(\b$creator\b)(CREATOR) if $creator;
$base2 = '' if $base2 eq $base; # if there was no change
return $base2;
Please sign in to comment.
Something went wrong with that request. Please try again.