about summary refs log tree commit homepage
path: root/lib/PublicInbox/Repobrowse.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-03-12 03:41:29 +0000
committerEric Wong <e@80x24.org>2016-04-05 18:58:27 +0000
commit89abb41ac9a2ca0a4fff0ccf75edf0bc1d050d61 (patch)
tree740e28ed88cf7292e177353b4d1270837108305e /lib/PublicInbox/Repobrowse.pm
parent78951743029a1d0074ff447c612b2750a83623e5 (diff)
downloadpublic-inbox-89abb41ac9a2ca0a4fff0ccf75edf0bc1d050d61.tar.gz
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.
Diffstat (limited to 'lib/PublicInbox/Repobrowse.pm')
-rw-r--r--lib/PublicInbox/Repobrowse.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/Repobrowse.pm b/lib/PublicInbox/Repobrowse.pm
index 0b09800b..0c4cf144 100644
--- a/lib/PublicInbox/Repobrowse.pm
+++ b/lib/PublicInbox/Repobrowse.pm
@@ -24,7 +24,8 @@ use Plack::Request;
 use URI::Escape qw(uri_escape_utf8 uri_unescape);
 use PublicInbox::RepobrowseConfig;
 
-my %CMD = map { lc($_) => $_ } qw(Log Commit Tree Patch Blob Plain Tag Atom);
+my %CMD = map { lc($_) => $_ } qw(Log Commit Tree Patch Blob Plain Tag Atom
+        Diff);
 my %VCS = (git => 'Git');
 my %LOADED;