davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

RAW servlet has issues when there is a Git repo and a group with the same name #552

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a repo named test.git
2. Create a repo test/sub.git
3. Try to view a file with the RAW servlet on test/sub.git

What is the expected output? What do you see instead?
I expect to see the file, instead I get an error that the branch sub.git 
doesn't exist in the test.git repo

What version of the product are you using? On what operating system?
1.6.2

Please provide any additional information below.
Maybe the RAW servlet should check the repo against the longest match

Original issue reported on code.google.com by Sascha.V...@gmail.com on 27 Jan 2015 at 10:11