From c855bbe65ade50ac93f67d33daba20c0db500dfd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 13 Jan 2017 22:05:10 +0000 Subject: 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. --- lib/PublicInbox/Repobrowse.pm | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3-24-ge0c7