Permalink
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...
1 parent 2048484 commit 4f4658274dd84595d23b2d0fd16eba6927239a34 @sitaramc committed Dec 14, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 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;

0 comments on commit 4f46582

Please sign in to comment.