mi repos directory have names with dot '.' example my_repo.git, and never works for me
Do you have a patch?
I believe this has to do with sanitization of urls to ensure people don't try to traverse directories. I'll take a look at this later this weekend if no one else will ;)
Going through each entry in config/routes.php and changing:
array('project' => '[\w_-]+')
array('project' => '[\w_-]+(.git)?')
did the trick for me.
(edit: github doesn't seem to like regexes :) .git has a backslash)
Pull request? :)
seems there's is some extra work required on Git::blob in order to show the file contents properly. will try to get that going.
Something along the lines: https://gist.github.com/1503192
this would require an PECL extension ( finfo ) to determine the mime type, but I rather not add any dependencies to the code.
I'm no longer maintaining this repository. Pull requests welcome, but I won't be fixing any issues.