diff options
author | Eric Wong <e@80x24.org> | 2020-11-23 07:05:59 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-11-24 05:03:55 +0000 |
commit | eb94f5e4f592db1ec34232a831fa66d1894cb8af (patch) | |
tree | 10d504cd03b3dcaf8e4bbfbf1e174ab393eda5b6 | |
parent | 2c012a3a2f95d9cf268bd92a61a53fc1633ba8f3 (diff) | |
download | public-inbox-eb94f5e4f592db1ec34232a831fa66d1894cb8af.tar.gz |
This will make it possible to map reference repos in case somebody uses the feature.
-rw-r--r-- | lib/PublicInbox/MiscIdx.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/MiscIdx.pm b/lib/PublicInbox/MiscIdx.pm index acb49ce7..642d920b 100644 --- a/lib/PublicInbox/MiscIdx.pm +++ b/lib/PublicInbox/MiscIdx.pm @@ -106,10 +106,12 @@ EOF my $git = $ibx->git_epoch($epoch) or return; if (my $ent = $git->manifest_entry($epoch, $desc)) { $data->{"$pfx$epoch.git"} = $ent; + $ent->{git_dir} = $git->{git_dir}; } $git->cleanup; # ->modified starts cat-file --batch } } elsif (my $ent = $ibx->git->manifest_entry) { # v1 + $ent->{git_dir} = $ibx->{inboxdir}; $data->{"/$ibx->{name}"} = $ent; } $doc->set_data(PublicInbox::Config::json()->encode($data)); |