Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to have a SparkleShare repository that has spaces in the names, but it seems that gitolite doesn't like my config file to have spaces in the names.

share|improve this question
up vote 2 down vote accepted

Gitolite (v2 or v3) doesn't seem to support repo names with spaces in it.

If you look at

# normal repos
my @repos = grep { $_ =~ $REPONAME_PATT and not /^@/ } sort keys %repos;


$REPONAME_PATT = qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@/+-]*$);

So no space in that pattern, when adding or removing repos in Gitolite.

share|improve this answer
I wonder if changing that regex is all that would need to be done, or if that would break things... – Bryan Agee May 1 '12 at 22:08
@BryanAgee It's possible, but I haven't tested it. – VonC May 2 '12 at 6:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.