about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-01-13 22:05:10 +0000
committerEric Wong <e@80x24.org>2017-01-13 22:05:10 +0000
commitc855bbe65ade50ac93f67d33daba20c0db500dfd (patch)
tree910f805d02abd52d1b9d615cb4a190ad9527a03b
parentbec2d26785b20793de0169b30d0af67fd20fcd4e (diff)
downloadpublic-inbox-c855bbe65ade50ac93f67d33daba20c0db500dfd.tar.gz
Metaprogramming can be difficult-to-read after several
months, so leave comments in place to describe common
usage results of.
-rw-r--r--lib/PublicInbox/Repobrowse.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/Repobrowse.pm b/lib/PublicInbox/Repobrowse.pm
index 2c758ca8..1050ed50 100644
--- a/lib/PublicInbox/Repobrowse.pm
+++ b/lib/PublicInbox/Repobrowse.pm
@@ -143,6 +143,8 @@ sub call {
         $req->{tslash} = $tslash;
         $mod = load_once("PublicInbox::Repobrowse$vcs$mod");
         $vcs = load_once("PublicInbox::$vcs");
+
+        # $repo_info->{git} ||= PublicInbox::Git->new(...)
         $repo_info->{$vcs_lc} ||= $vcs->new($repo_info->{path});
 
         $req->{expath} = join('/', @extra);