]> Sergey Matveev's repositories - public-inbox.git/commit
git: modified: don't slurp `rev-parse --branches'
authorEric Wong <e@yhbt.net>
Sat, 11 Jan 2020 22:34:56 +0000 (22:34 +0000)
committerEric Wong <e@yhbt.net>
Mon, 13 Jan 2020 04:36:38 +0000 (04:36 +0000)
commit6d8658803b0f75ccdc54d16c8fda4e2cfaed0388
tree520e21c83af9149a415f5afa2e2d63365200178d
parent7778d7abd5acb2ba7c32de10cec1369f3982bf84
git: modified: don't slurp `rev-parse --branches'

While v1 inboxes typically only have one branch, code repositories
may have dozens or even hundreds.  Slurping those into memory is
a waste.
lib/PublicInbox/Git.pm