cgit can't display certain file hashes
Dunnigan, Terrence J
terrence.j.dunnigan at boeing.com
Fri Sep 18 19:23:32 CEST 2015
>From time to time our cgit server (0.10.1) won't display a particular version of a file.
Say we have a file src.cpp in the repo repo.git. It has been modified five times, and the five file hashes are aaa, bbb, ccc, ddd, and eee. Aaa is the first commit and eee is the most recent commit.
We use this URL to display certain versions of the file: https://cgit/repo.git/blob/src.cpp?id=eee.
For whatever reason, all hashes are displaying except the penultimate commit, ddd.
https://cgit/repo.git/blob/src.cpp?id=eee displays the file just fine.
https://cgit/repo.git/blob/src.cpp?id=ddd displays an error message "No repositories found".
The commit exists in the repo - I can see the file hash ddd listed via the command git ls-tree, so I'm very confused why cgit isn't able to display the file.
I know our version of cgit is an older version - was this a bug fixed in subsequent releases?
Any help that you can provide would be most appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CGit