diff options
author | Neil Moore <neil@s-z.org> | 2012-11-07 19:19:46 -0600 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-11-07 19:20:18 -0600 |
commit | c0b02f887b786ca915c13c2e4d7750befb4887c8 (patch) | |
tree | 75009b839bab37d1e47850dcfda783f3d67b8918 | |
parent | baba68ec1fe126677a86c75fad0089b0731002ab (diff) | |
download | crawlbot-c0b02f887b786ca915c13c2e4d7750befb4887c8.tar.gz crawlbot-c0b02f887b786ca915c13c2e4d7750befb4887c8.zip |
Announce commits in reverse order (oldest first).
-rw-r--r-- | lib/Crawl/Bot/Plugin/Commit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crawl/Bot/Plugin/Commit.pm b/lib/Crawl/Bot/Plugin/Commit.pm index ad639c5..683dc4d 100644 --- a/lib/Crawl/Bot/Plugin/Commit.pm +++ b/lib/Crawl/Bot/Plugin/Commit.pm @@ -168,7 +168,7 @@ sub tick { if $cherry_picks > 0; my $count = 0; - for my $rev (@revs) { + for my $rev (reverse @revs) { if (++$count > $self->announce_limit) { $self->say_all("... and " . (scalar @revs - $count + 1) . " more commits"); last; |