summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7778d7a)
While v1 inboxes typically only have one branch, code repositories
may have dozens or even hundreds. Slurping those into memory is
a waste.
my $fh = popen($self, qw(rev-parse --branches));
cat_async_begin($self);
local $/ = "\n";
my $fh = popen($self, qw(rev-parse --branches));
cat_async_begin($self);
local $/ = "\n";
- foreach my $oid (<$fh>) {
+ while (my $oid = <$fh>) {
chomp $oid;
cat_async($self, $oid, \&extract_cmt_time, \$modified);
}
chomp $oid;
cat_async($self, $oid, \&extract_cmt_time, \$modified);
}