summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-05-04 22:05:47 -0500
committerNeil Moore <neil@s-z.org>2012-05-04 22:05:47 -0500
commit7f3d16a70e32379d9e016b1e7c01f4a59c3a12ee (patch)
treee5a4f9cbf08d7bfe3a45b7e5ea4723459d2feec9
parent55cbda7b5dd9d0de728726646ea08f06055f47b0 (diff)
downloadcrawlbot-7f3d16a70e32379d9e016b1e7c01f4a59c3a12ee.tar.gz
crawlbot-7f3d16a70e32379d9e016b1e7c01f4a59c3a12ee.zip
Whitespace fixes.
-rw-r--r--lib/Crawl/Bot/Plugin/Commit.pm34
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/Crawl/Bot/Plugin/Commit.pm b/lib/Crawl/Bot/Plugin/Commit.pm
index 1172413..b626aba 100644
--- a/lib/Crawl/Bot/Plugin/Commit.pm
+++ b/lib/Crawl/Bot/Plugin/Commit.pm
@@ -89,23 +89,23 @@ sub tick {
$self->say_all("New branch created: $branch ($nrev commits)");
}
- if ($self->announce_commits) {
- my %commits = map { $_, $self->parse_commit($_) } @revs;
-
- my $cherry_picks = @revs;
- @revs = grep { $commits{$_}->{subject} !~ /\(cherry picked from /
- && $commits{$_}->{body} !~ /\(cherry picked from / } @revs;
- $cherry_picks -= @revs;
- $self->say_all("Cherry-picked $cherry_picks commits into $branch")
- if $cherry_picks > 0;
-
- for my $rev (@revs) {
- my $commit = $commits{$rev};
- my $abbr = substr($rev, 0, 12);
- my $br = $branch eq "master" ? "" : "[$branch] ";
- $self->say_all("$commit->{author} $br* $abbr ($commit->{nfiles} changed): $commit->{subject}");
- }
- }
+ if ($self->announce_commits) {
+ my %commits = map { $_, $self->parse_commit($_) } @revs;
+
+ my $cherry_picks = @revs;
+ @revs = grep { $commits{$_}->{subject} !~ /\(cherry picked from /
+ && $commits{$_}->{body} !~ /\(cherry picked from / } @revs;
+ $cherry_picks -= @revs;
+ $self->say_all("Cherry-picked $cherry_picks commits into $branch")
+ if $cherry_picks > 0;
+
+ for my $rev (@revs) {
+ my $commit = $commits{$rev};
+ my $abbr = substr($rev, 0, 12);
+ my $br = $branch eq "master" ? "" : "[$branch] ";
+ $self->say_all("$commit->{author} $br* $abbr ($commit->{nfiles} changed): $commit->{subject}");
+ }
+ }
$self->head($branch => $head);
}