From: Eric Wong Date: Fri, 13 Jan 2017 22:05:10 +0000 (+0000) Subject: repobrowse: comment describing Git wrapper creation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c855bbe65ade50ac93f67d33daba20c0db500dfd;p=thirdparty%2Fpublic-inbox.git repobrowse: comment describing Git wrapper creation Metaprogramming can be difficult-to-read after several months, so leave comments in place to describe common usage results of. --- diff --git a/lib/PublicInbox/Repobrowse.pm b/lib/PublicInbox/Repobrowse.pm index 2c758ca8c..1050ed502 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);