about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepobrowseGitPlain.pm
DateCommit message (Collapse)
2017-02-09repobrowse: shorten internal names
We'll still be keeping "repobrowse" for the public API for use with .psgi files, but shortening the name means less typing and we may have command-line tools, too.
2017-01-26repobrowse: simplify command generation for git commands
This shortens the code quite a bit at a negligible performance cost, and the diffstat agrees.
2017-01-15repobrowse: use qspawn for plain tree views
We may eventually handle tree parsing ourselves (since we already git cat-file), but for now we can rely on ls-tree to give good output and qspawn to manage resource allocation.
2017-01-13repobrowse: simplify conditional for cat-file input
expath is always defined, even to an empty string, so simplify the conditional for checking it.
2016-12-20repobrowse: git plain: fixup request handling
Leftover from commit d4cec3bc3e439ab6ea9a2f89da5f98033bd95b4f ("repobrowse: start reducing Plack::Request dependencies")
2016-04-05honor core.abbrev from git-config(1)
We will use core.abbrev=12 by default if unset, as the git default of 7 is too low for long-term usability of links. Some of our callers used 16, which was probably excessive.
2016-04-05repobrowse: queries are VCS-specific
While we want to keep a consistent set of parameters across different VCSes, we cannot expect users of non-git VCSes to use the same parameter names which make sense for git users.
2016-04-05repobrowse: change Perl capitalization to "Repobrowse"
We mainly call it "repobrowse" (all lowercase), so do not imply it is two separate words by capitalizing "Browse".