sitaramc/gitolite — pull request #55 by tianon (2012-10-29 23:19:27+00:00)
Title: fix for keysubdirs-as-groups sugar script to support "old style multi-keys" for users

Was perplexed as to why using "keysubdirs-as-groups" wasn't adding my users to the correct groups until I checked the compiled gitolite.conf output and realized it was not ignoring my "old style multi-keys", and was creating a separate entry for each of my users (john@main, john@laptop, etc). The fix here works here, and should also work for users that are using mutli-keys with email addresses, or users that aren't using the old style multi-keys at all.