diff options
author | Eric Wong <e@80x24.org> | 2014-04-26 22:22:35 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-26 22:22:35 +0000 |
commit | 3da6c88f4bdffd2ae83d0c9108e20136c8986a80 (patch) | |
tree | edb1d6a2cc17eece165d9f13c1e704df2c4d638f /lib | |
parent | 00ebf78d1be09d9328cef47cc229f4f4c30bd69f (diff) | |
download | public-inbox-3da6c88f4bdffd2ae83d0c9108e20136c8986a80.tar.gz |
It's strictly not necessary anymore since commit fa6168c56bdd1cece178b6b852a9b2cba6ce6ffb ("feed: message must exist in current HEAD to show up") However it can still save us some unnecessary syscalls and round-trips to the "git cat-file --batch" process, so it's probably worth th cost of stuffing it in a hash.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/Feed.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 3b2b7af9..a8578e76 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -156,7 +156,7 @@ sub each_recent_blob { my $pid = open(my $log, '-|', @cmd) or die('open `'.join(' ', @cmd) . " pipe failed: $!\n"); - my %deleted; + my %deleted; # only an optimization at this point my $last; my $nr = 0; my @commits = (); |