about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepobrowseGitDiff.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-11repobrowse: make git diff output use qspawn
This is a potentially expensive operation, so we may want to give it it's own limiter channel.
2017-01-01repobrowse: avoid empty pathspecs for future git compatibility
At the moment, we always set expath, so it will always be defined.
2016-12-14repobrowse: start reducing Plack::Request dependencies
We'll be migrating away from it to minimize dependencies and surprises, just like the rest of public-inbox did several months ago.
2016-04-06repobrowse: reduce checks for response fh
We should die horribly if fh is missing in some cases due to a fatal bug, do not bug from us and risk losing output data.
2016-04-05repobrowse: reduce risk of callback reference cycles
It's unnecessary to rely so much on the req hashref like this and having to manually drop references could be considered code smell.
2016-04-05repobrowse: show roughly equivalent "diff-tree" invocation
This will make it easier to show how the diff output was generated and hopefully teach users to use the git command-line.
2016-04-05repobrowse: reduce local variables for state management
Hopefully this makes it easier to reuse code.
2016-04-05repobrowse: common git diff parsing code
This reduces the amount of duplicated code between the "diff" and "commit" views of repobrowse.
2016-04-05repobrowse: implement diff view for compatibility
This needs to be cleaned up, but we shall support the (potentially very expensive) diff view between arbitrary revisions to avoid breaking existing URLs. The diff parsing code will need to be consolidated between this and the commit view.