]> Sergey Matveev's repositories - public-inbox.git/commit
gcf2: workaround libgit2 alternates bug for extindex
authorEric Wong <e@80x24.org>
Tue, 24 Nov 2020 00:35:51 +0000 (00:35 +0000)
committerEric Wong <e@80x24.org>
Tue, 24 Nov 2020 08:06:06 +0000 (08:06 +0000)
commitd63bd02ca7ef26190d073896fe063c497ef60d85
treec4af43ec6dfaa0aabc1f88313f26bff5e36879ca
parent4047a96cc1697dae5e9724c1e3610e5c992d92c8
gcf2: workaround libgit2 alternates bug for extindex

While libgit2 handles alternates with relative paths properly
for v2 epochs; nesting them another layer with extindex uses
the wrong relative path expansion (and is inconsistent with
git(1) behavior).

Fortunately, it's possible to work around this libgit2 bug
entirely within Gcf2 and avoid further special cases throughout
the rest of our code to support extindex.

Link: https://bugs.debian.org/975607
lib/PublicInbox/Gcf2.pm