wingrunr21 / gitolite

A Ruby interface for the gitolite git backend system
https://github.com/wingrunr21/gitolite
MIT License
82 stars 37 forks source link

Normalize symbols in Gitolite::Config::Repo #27

Open wingrunr21 opened 12 years ago

wingrunr21 commented 12 years ago

When add_permission is called, specifying a symbol will succeed in the regex match but will create different entries within the permissions hash. Symbols should be normalized to strings to prevent this behavior.

apfohl commented 11 years ago

Why not use .to_s?

wingrunr21 commented 11 years ago

Probably will.