]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
gcf2: take non-ref scalar request arg
authorEric Wong <e@80x24.org>
Sun, 1 Oct 2023 09:54:17 +0000 (09:54 +0000)
committerEric Wong <e@80x24.org>
Sun, 1 Oct 2023 22:41:40 +0000 (22:41 +0000)
commit7f05ec260f2a8e81c884a1461f1573c1b7edef12
treedf336a57c79368beb9881294cdee167402b3cbe3
parent3f5ac9b00bc95de4a5f4f06266d3a2eb5424e24a
gcf2: take non-ref scalar request arg

Asking callers to pass a scalar reference is awkward and
doesn't benefit modern Perl with CoW support.  Unlike
some constant error messages, it can't save any allocations
at all since there's no constant strings being passed to
libgit2.
lib/PublicInbox/Gcf2Client.pm
lib/PublicInbox/GitAsyncCat.pm
t/gcf2_client.t