about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitSrc.pm
DateCommit message (Collapse)
2017-03-04repobrowse: stop abbreviating object names
Ending up with potentially ambiguous identifiers in the future is not worth saving some bytes, in this case.
2017-03-03repobrowse: src: show a nicer message for big files
It should be unlikely for a code repository to need any source files over 64K; and we can't display binaries in a meaningful way in HTML, anyways.
2017-03-03repobrowse: src/ endpoint requires a tip to be specified
Implying a tip would make for ambiguous URLs and ruin caching, so try to get everybody to hit the same URL. This also simplifies some of our other code since the tip is always in the request.
2017-03-03repobrowse: consistently set text charset
For everything with relevant content, we'll try to set UTF-8 charset and reduce duplication when generating response headers.
2017-03-02repobrowse: rename "tree" endpoint to "src"
This is shorter, and makes more sense as the endpoint displays both tree listings and actual blob sources. This will also make rewriting existing URLs from cgit installations easier.